summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-09-22 13:37:56 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-09-22 13:37:56 +0200
commit4063f006285db0473046bde645f236c814460eb0 (patch)
treee15b89825839f1f8bcc779bb63b38f7237c7d9f7 /opentrack
parente13c17f2436e12c3942c921e6764f6ade28887bf (diff)
pose-widget: fix widget not expanding
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/main-window.ui22
1 files changed, 9 insertions, 13 deletions
diff --git a/opentrack/main-window.ui b/opentrack/main-window.ui
index 1bdb3acf..77428ada 100644
--- a/opentrack/main-window.ui
+++ b/opentrack/main-window.ui
@@ -3,6 +3,14 @@
<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>818</width>
+ <height>474</height>
+ </rect>
+ </property>
<property name="windowIcon">
<iconset resource="../gui/opentrack-res.qrc">
<normaloff>:/images/opentrack.png</normaloff>:/images/opentrack.png</iconset>
@@ -63,12 +71,6 @@
</property>
<item alignment="Qt::AlignLeft|Qt::AlignTop">
<widget class="QWidget" name="top" native="true">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>0</number>
@@ -193,7 +195,7 @@
<item>
<widget class="pose_widget" name="pose_display" native="true">
<property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -204,12 +206,6 @@
<height>240</height>
</size>
</property>
- <property name="maximumSize">
- <size>
- <width>320</width>
- <height>240</height>
- </size>
- </property>
</widget>
</item>
</layout>