Make the Remove search term button on the smart playlist dialog a little less ugly on OS X

This commit is contained in:
David Sansome 2012-11-03 15:59:25 -07:00
parent d092c5a3ce
commit 5bdfa1573f
2 changed files with 7 additions and 33 deletions

View File

@ -12,7 +12,7 @@
border-top-right-radius: 5px; border-top-right-radius: 5px;
border-bottom-left-radius: 0px; border-bottom-left-radius: 0px;
border-bottom-right-radius: 5px; border-bottom-right-radius: 5px;
border-left: 1px solid palette(mid); border: 0px solid transparent;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 %light, stop:0 %light,
stop:0.4 %light, stop:0.4 %light,
@ -20,7 +20,7 @@
stop:1 %dark); stop:1 %dark);
margin-left: 5px; margin-left: 5px;
padding: 5px; padding: 0px 5px;
} }
#remove:hover { #remove:hover {
@ -29,6 +29,7 @@
stop:0.4 %light2, stop:0.4 %light2,
stop:0.6 %base, stop:0.6 %base,
stop:1 %base); stop:1 %base);
border: 0px solid transparent;
} }
#remove:pressed { #remove:pressed {
@ -37,5 +38,6 @@
stop:0.4 %base, stop:0.4 %base,
stop:0.6 %light2, stop:0.6 %light2,
stop:1 %light2); stop:1 %light2);
border: 0px solid transparent;
} }

View File

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>640</width> <width>640</width>
<height>33</height> <height>38</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -67,14 +67,7 @@
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
<widget class="QLineEdit" name="value_text"> <widget class="QLineEdit" name="value_text"/>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
@ -101,12 +94,6 @@
</property> </property>
<item> <item>
<widget class="QTimeEdit" name="value_time"> <widget class="QTimeEdit" name="value_time">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="displayFormat"> <property name="displayFormat">
<string notr="true">mm:ss</string> <string notr="true">mm:ss</string>
</property> </property>
@ -124,12 +111,6 @@
</property> </property>
<item> <item>
<widget class="QSpinBox" name="value_number"> <widget class="QSpinBox" name="value_number">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximum"> <property name="maximum">
<number>1000000</number> <number>1000000</number>
</property> </property>
@ -147,12 +128,6 @@
</property> </property>
<item> <item>
<widget class="QDateEdit" name="value_date"> <widget class="QDateEdit" name="value_date">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="calendarPopup"> <property name="calendarPopup">
<bool>true</bool> <bool>true</bool>
</property> </property>
@ -257,16 +232,13 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="remove"> <widget class="QToolButton" name="remove">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding"> <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text">
<string>Remove</string>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>