1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-20 02:07:23 +01:00
Make "Object" text left-justified in tree view.  Also put a 120 pixel
min width on tree view and make it non-collapsible so that the user
can't accidently hide the tree view entirely.
This commit is contained in:
Theron Tock 2011-04-28 11:05:11 -07:00
parent 28a7eeb014
commit 546279ab1a
2 changed files with 13 additions and 10 deletions

View File

@ -132,7 +132,7 @@ ObjectTreeView::ObjectTreeView(ProjectPanel* project,
//header()->hide();
header()->setDefaultAlignment(Qt::AlignHCenter);
header()->setDefaultAlignment(Qt::AlignLeft);
header()->setResizeMode(QHeaderView::Interactive);
showOrHideAttributesColumn();

View File

@ -26,10 +26,13 @@
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="childrenCollapsible">
<bool>false</bool>
</property>
<widget class="QFrame" name="treeDockWidgetParentFrame">
<property name="minimumSize">
<size>
<width>20</width>
<width>150</width>
<height>0</height>
</size>
</property>
@ -116,14 +119,6 @@
<property name="spacing">
<number>2</number>
</property>
<item row="1" column="0">
<widget class="QStackedWidget" name="ruleSets">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="WorkflowIcons" name="icons"/>
</widget>
</item>
<item row="0" column="0">
<widget class="QWidget" name="toolbar" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_2">
@ -308,6 +303,14 @@
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QStackedWidget" name="ruleSets">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="WorkflowIcons" name="icons"/>
</widget>
</item>
</layout>
</widget>
</widget>