Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gui: add parameter switch to optionally stretch 'Description' column of Tree view #6751

Merged
merged 1 commit into from Apr 15, 2022

Conversation

0penBrain
Copy link
Contributor

@github-actions github-actions bot added the Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD label Apr 14, 2022
@freecadci
Copy link

pipeline status for feature branch PR_6751. Pipeline 516950426 was triggered at d5c8752. All CI branches and pipelines.

@wwmayer
Copy link
Contributor

wwmayer commented Apr 15, 2022

Do you mind using this parameter group instead User parameter:BaseApp/Preferences/TreeView? It's already used for the tree view.

In Tree.h there is a class TreeParams that can be extended by a method getTreeViewStretchDescription()

bool TreeParams::getTreeViewStretchDescription() const
{
    return handle->GetBool("TreeViewStretchDescription", false);
}

@0penBrain
Copy link
Contributor Author

Do you mind using this parameter group instead User parameter:BaseApp/Preferences/TreeView? It's already used for the tree view.

Sure. Missed it.

In Tree.h there is a class TreeParams that can be extended by a method getTreeViewStretchDescription()

Honestly, this class is totally unreadable with all the #define things 🤣

@freecadci
Copy link

pipeline status for feature branch PR_6751. Pipeline 517699534 was triggered at ae58ad6. All CI branches and pipelines.

@wwmayer
Copy link
Contributor

wwmayer commented Apr 15, 2022

Honestly, this class is totally unreadable with all the #define things

Absolutely agree on this! I think for v0.21 we should start to clean-up this mess.

@wwmayer wwmayer merged commit e8ed31f into FreeCAD:master Apr 15, 2022
@0penBrain 0penBrain deleted the treeView branch February 25, 2023 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants