Made keyword add/remove buttons the same size.

Fixes #2547.
This commit is contained in:
Theron Tock
2011-06-30 11:35:40 -07:00
parent 54c16183e1
commit 05e9a1e215
2 changed files with 17 additions and 2 deletions
+3
View File
@@ -1,3 +1,6 @@
2011-06-29 theron <theron@netcitadel.com>
* Fixed #2547, made keyword add/remove buttons same size.
2011-06-29 theron <theron@netcitadel.com>
* Fixed #2540. On mac we can get a drop event even if
dragMoveEvent() says the drop is invalid. So in ObjectTreeView we
+14 -2
View File
@@ -25,6 +25,12 @@
</item>
<item row="1" column="0">
<widget class="QListView" name="allKeywordsListView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
@@ -57,7 +63,7 @@
<item>
<widget class="QPushButton" name="addKeywordButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -69,6 +75,12 @@
</item>
<item>
<widget class="QPushButton" name="removeKeywordButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&lt;&lt; Remove</string>
</property>
@@ -93,7 +105,7 @@
<widget class="QListView" name="currKeywordsListView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<horstretch>1</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>