summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-05-25 00:33:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-05-25 00:33:11 +0200
commit2190b93cc3b83d643497258941d39f9b0f654199 (patch)
tree04f4baecbe2e3433da77b5c560fadd81fa1678a5
parent7207280aa225897cc271ad3f2d9f7890de716336 (diff)
opentrack: try fix hidpi on linux
-rw-r--r--opentrack/main-window.ui88
1 files changed, 28 insertions, 60 deletions
diff --git a/opentrack/main-window.ui b/opentrack/main-window.ui
index 52b522ca..1bdb3acf 100644
--- a/opentrack/main-window.ui
+++ b/opentrack/main-window.ui
@@ -3,14 +3,6 @@
<author>Lovecraftian Octopus</author>
<class>main_window</class>
<widget class="QMainWindow" name="main_window">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>646</width>
- <height>517</height>
- </rect>
- </property>
<property name="windowIcon">
<iconset resource="../gui/opentrack-res.qrc">
<normaloff>:/images/opentrack.png</normaloff>:/images/opentrack.png</iconset>
@@ -266,7 +258,7 @@
</property>
<layout class="QGridLayout" name="gridLayout_12">
<property name="leftMargin">
- <number>0</number>
+ <number>6</number>
</property>
<property name="topMargin">
<number>0</number>
@@ -275,7 +267,7 @@
<number>0</number>
</property>
<property name="bottomMargin">
- <number>0</number>
+ <number>6</number>
</property>
<property name="spacing">
<number>0</number>
@@ -300,12 +292,6 @@
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
<property name="smallDecimalPoint">
<bool>true</bool>
</property>
@@ -313,7 +299,7 @@
<number>4</number>
</property>
<property name="segmentStyle">
- <enum>QLCDNumber::Outline</enum>
+ <enum>QLCDNumber::Flat</enum>
</property>
</widget>
</item>
@@ -375,12 +361,6 @@
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
<property name="smallDecimalPoint">
<bool>true</bool>
</property>
@@ -388,7 +368,7 @@
<number>4</number>
</property>
<property name="segmentStyle">
- <enum>QLCDNumber::Outline</enum>
+ <enum>QLCDNumber::Flat</enum>
</property>
</widget>
</item>
@@ -450,12 +430,6 @@
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
<property name="smallDecimalPoint">
<bool>true</bool>
</property>
@@ -463,7 +437,7 @@
<number>4</number>
</property>
<property name="segmentStyle">
- <enum>QLCDNumber::Outline</enum>
+ <enum>QLCDNumber::Flat</enum>
</property>
</widget>
</item>
@@ -519,12 +493,6 @@
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
<property name="smallDecimalPoint">
<bool>true</bool>
</property>
@@ -532,7 +500,7 @@
<number>4</number>
</property>
<property name="segmentStyle">
- <enum>QLCDNumber::Outline</enum>
+ <enum>QLCDNumber::Flat</enum>
</property>
</widget>
</item>
@@ -556,12 +524,6 @@
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
<property name="smallDecimalPoint">
<bool>true</bool>
</property>
@@ -569,7 +531,7 @@
<number>4</number>
</property>
<property name="segmentStyle">
- <enum>QLCDNumber::Outline</enum>
+ <enum>QLCDNumber::Flat</enum>
</property>
</widget>
</item>
@@ -593,12 +555,6 @@
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
<property name="smallDecimalPoint">
<bool>true</bool>
</property>
@@ -606,7 +562,7 @@
<number>4</number>
</property>
<property name="segmentStyle">
- <enum>QLCDNumber::Outline</enum>
+ <enum>QLCDNumber::Flat</enum>
</property>
</widget>
</item>
@@ -626,7 +582,7 @@
</property>
<layout class="QGridLayout" name="gridLayout_14">
<property name="leftMargin">
- <number>0</number>
+ <number>6</number>
</property>
<property name="topMargin">
<number>0</number>
@@ -635,7 +591,7 @@
<number>0</number>
</property>
<property name="bottomMargin">
- <number>0</number>
+ <number>6</number>
</property>
<property name="spacing">
<number>0</number>
@@ -646,7 +602,7 @@
<bool>true</bool>
</property>
<property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -677,7 +633,7 @@
<bool>true</bool>
</property>
<property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -708,7 +664,7 @@
<bool>true</bool>
</property>
<property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -777,7 +733,7 @@
<bool>true</bool>
</property>
<property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -878,7 +834,7 @@
<bool>true</bool>
</property>
<property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -909,7 +865,7 @@
<bool>true</bool>
</property>
<property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -972,6 +928,12 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="minimumSize">
+ <size>
+ <width>400</width>
+ <height>0</height>
+ </size>
+ </property>
<property name="lineWidth">
<number>0</number>
</property>
@@ -1196,6 +1158,12 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="minimumSize">
+ <size>
+ <width>400</width>
+ <height>0</height>
+ </size>
+ </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>