[qss] Stylesheet improvements as discussed in Discord for Win 1920x....

* Launcher slightly larger to avoid scrollbars
* XPDR mode in status bar a bit higher
* Cockpit COM component a bit higher
This commit is contained in:
Klaus Basan
2019-03-21 18:13:59 +01:00
committed by Mat Sutcliffe
parent f3c647fde4
commit dfd54e497c
6 changed files with 30 additions and 49 deletions

View File

@@ -37,16 +37,10 @@
</property>
<item alignment="Qt::AlignTop">
<widget class="BlackGui::Components::CCockpitComComponent" name="comp_CockpitComComponent">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>90</height>
<height>100</height>
</size>
</property>
</widget>

View File

@@ -6,14 +6,14 @@
<rect>
<x>0</x>
<y>0</y>
<width>201</width>
<height>20</height>
<width>249</width>
<height>25</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
<height>25</height>
</size>
</property>
<property name="windowTitle">
@@ -37,11 +37,11 @@
</property>
<item>
<widget class="BlackGui::Components::CTransponderModeComponent" name="comp_XpdrMode">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
<property name="minimumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
</widget>
</item>

View File

@@ -2,14 +2,6 @@
<ui version="4.0">
<class>CTransponderModeComponent</class>
<widget class="QFrame" name="CTransponderModeComponent">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>25</width>
<height>25</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>25</width>

View File

@@ -7,6 +7,7 @@
BlackGui--CDockWidgetInfoBar {
background: black; /* background is background color here */
background-image: url(:/textures/icons/textures/texture-inner.jpg);
min-height: 1.25em;
}
BlackGui--CDockWidgetInfoBar[floating="true"] {
@@ -14,8 +15,8 @@ BlackGui--CDockWidgetInfoBar[floating="true"] {
}
BlackGui--Components--CTransponderModeComponent {
min-width: 2em;
min-height: 2em;
padding: 0px;
margin: 0px;
}
QToolButton[xpdrmodeshort="I"] {