summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-02-09 23:57:15 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-02-09 23:57:41 +0100
commitfc90d78e179fbc8b1c87a64e49eabffda19fb871 (patch)
tree89f767aeffc039e56a611ced846ebb7eb78e4580 /tracker-pt
parentf41f404de607b4f8f5aa270e36ae7c43baf63862 (diff)
gui: scale properly on high-DPI screens
Previously high DPI made the main screen all out of whack, unreadable and unusable.
Diffstat (limited to 'tracker-pt')
-rw-r--r--tracker-pt/FTNoIR_PT_Controls.ui6
1 files changed, 6 insertions, 0 deletions
diff --git a/tracker-pt/FTNoIR_PT_Controls.ui b/tracker-pt/FTNoIR_PT_Controls.ui
index 88575644..75190a5e 100644
--- a/tracker-pt/FTNoIR_PT_Controls.ui
+++ b/tracker-pt/FTNoIR_PT_Controls.ui
@@ -331,6 +331,12 @@
</item>
<item row="1" column="1" colspan="2">
<widget class="QSlider" name="threshold_slider">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="toolTip">
<string>Intensity threshold for point extraction</string>
</property>