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> 2011-06-29 theron <theron@netcitadel.com>
* Fixed #2540. On mac we can get a drop event even if * Fixed #2540. On mac we can get a drop event even if
dragMoveEvent() says the drop is invalid. So in ObjectTreeView we dragMoveEvent() says the drop is invalid. So in ObjectTreeView we
+14 -2
View File
@@ -25,6 +25,12 @@
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QListView" name="allKeywordsListView"> <widget class="QListView" name="allKeywordsListView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editTriggers"> <property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set> <set>QAbstractItemView::NoEditTriggers</set>
</property> </property>
@@ -57,7 +63,7 @@
<item> <item>
<widget class="QPushButton" name="addKeywordButton"> <widget class="QPushButton" name="addKeywordButton">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
@@ -69,6 +75,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="removeKeywordButton"> <widget class="QPushButton" name="removeKeywordButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>&lt;&lt; Remove</string> <string>&lt;&lt; Remove</string>
</property> </property>
@@ -93,7 +105,7 @@
<widget class="QListView" name="currKeywordsListView"> <widget class="QListView" name="currKeywordsListView">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch> <horstretch>1</horstretch>
<verstretch>1</verstretch> <verstretch>1</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>