0000738: Compress stuff in Tree view

This commit is contained in:
wmayer
2012-06-07 20:17:38 +02:00
parent 1ff3d74efc
commit c09bf76d84
2 changed files with 4 additions and 0 deletions

View File

@@ -64,6 +64,8 @@ CombiView::CombiView(Gui::Document* pcDocument, QWidget *parent)
// tree widget
tree = new TreeWidget(this);
//tree->setRootIsDecorated(false);
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/TreeView");
tree->setIndentation(hGrp->GetInt("Indentation", tree->indentation()));
splitter->addWidget(tree);
// property view