0000738: Compress stuff in Tree view
This commit is contained in:
parent
04d2103566
commit
cfee1c192f
|
@ -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
|
||||
|
|
|
@ -726,6 +726,8 @@ TreeDockWidget::TreeDockWidget(Gui::Document* pcDocument,QWidget *parent)
|
|||
setWindowTitle(tr("Tree view"));
|
||||
this->treeWidget = new TreeWidget(this);
|
||||
this->treeWidget->setRootIsDecorated(false);
|
||||
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/TreeView");
|
||||
this->treeWidget->setIndentation(hGrp->GetInt("Indentation", this->treeWidget->indentation()));
|
||||
|
||||
QGridLayout* pLayout = new QGridLayout(this);
|
||||
pLayout->setSpacing(0);
|
||||
|
|
Loading…
Reference in New Issue
Block a user