summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-10-06 08:21:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-10-06 08:21:52 +0200
commit66a3c8907179e0ca43cdda7530ada6e1275d1c0d (patch)
tree5cc23aafcfe7aed44defbe6e5089ce79aca308b0 /opentrack
parent650b34c2f7dc60bbda949cc62b7269016cedbafd (diff)
opentrack: fix pose widget on X11
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/main-window.cpp1
-rw-r--r--opentrack/main-window.ui8
2 files changed, 7 insertions, 2 deletions
diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp
index 14f0e1ab..cd715216 100644
--- a/opentrack/main-window.cpp
+++ b/opentrack/main-window.cpp
@@ -46,7 +46,6 @@ main_window::main_window() : State(OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH)
init_dylibs();
init_shortcuts();
- adjustSize();
init_tray_menu();
setVisible(start_in_tray());
ensure_tray();
diff --git a/opentrack/main-window.ui b/opentrack/main-window.ui
index 77428ada..a30ef9ed 100644
--- a/opentrack/main-window.ui
+++ b/opentrack/main-window.ui
@@ -8,9 +8,15 @@
<x>0</x>
<y>0</y>
<width>818</width>
- <height>474</height>
+ <height>666</height>
</rect>
</property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="windowIcon">
<iconset resource="../gui/opentrack-res.qrc">
<normaloff>:/images/opentrack.png</normaloff>:/images/opentrack.png</iconset>