Improved appearance of combobox and when using dark color themes

actorid
Pieter van der Kloet 12 years ago
parent fc1940257a
commit 5e13614e08

@ -2,25 +2,17 @@
<ui version="4.0"> <ui version="4.0">
<class>MainWindow</class> <class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow"> <widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>575</width>
<height>575</height>
</rect>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>575</width> <width>575</width>
<height>575</height> <height>525</height>
</size> </size>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>OpenMW Launcher</string> <string>OpenMW Launcher</string>
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset resource="../resources.qrc"> <iconset resource="../launcher/launcher.qrc">
<normaloff>:/images/openmw.png</normaloff>:/images/openmw.png</iconset> <normaloff>:/images/openmw.png</normaloff>:/images/openmw.png</iconset>
</property> </property>
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
@ -42,7 +34,7 @@
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#iconWidget { <string notr="true">#iconWidget {
background-image: url(&quot;:/images/openmw-header.png&quot;); background-image: url(&quot;:/images/openmw-header.png&quot;);
background-color: white; background-color: palette(base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-attachment: scroll; background-attachment: scroll;
background-position: right; background-position: right;
@ -74,7 +66,7 @@
</widget> </widget>
</widget> </widget>
<resources> <resources>
<include location="../resources.qrc"/> <include location="../launcher/launcher.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>

@ -58,6 +58,7 @@
font-size: 12pt; font-size: 12pt;
font-family: &quot;EB Garamond&quot;, &quot;EB Garamond 08&quot;; font-family: &quot;EB Garamond&quot;, &quot;EB Garamond 08&quot;;
color: black;
} }
#profilesComboBox::drop-down { #profilesComboBox::drop-down {
@ -81,11 +82,10 @@
left: 1px; left: 1px;
} }
#profilesComboBox QAbstractItemView { #profilesComboBox QAbstractItemView {
border: 2px solid lightgray; border: 0px;
border-radius: 5px; }</string>
}
</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -95,6 +95,7 @@
<string notr="true">#profileLabel { <string notr="true">#profileLabel {
font-size: 18pt; font-size: 18pt;
font-family: &quot;EB Garamond&quot;, &quot;EB Garamond 08&quot;; font-family: &quot;EB Garamond&quot;, &quot;EB Garamond 08&quot;;
color: black;
} }
</string> </string>
</property> </property>
@ -185,8 +186,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<resources> <resources/>
<include location="../resources.qrc"/>
</resources>
<connections/> <connections/>
</ui> </ui>

Loading…
Cancel
Save