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-bottom-left-radius: 0px;
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,
stop:0 %light,
stop:0.4 %light,
@ -20,7 +20,7 @@
stop:1 %dark);
margin-left: 5px;
padding: 5px;
padding: 0px 5px;
}
#remove:hover {
@ -29,6 +29,7 @@
stop:0.4 %light2,
stop:0.6 %base,
stop:1 %base);
border: 0px solid transparent;
}
#remove:pressed {
@ -37,5 +38,6 @@
stop:0.4 %base,
stop:0.6 %light2,
stop:1 %light2);
border: 0px solid transparent;
}

View File

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