summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/about.ui
diff options
context:
space:
mode:
authorGravatar Martin Měřinský <mermar@centrum.cz>2017-03-07 06:47:33 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-03-07 21:45:05 -0800
commit9c2619ea3bcf8a0ad40a758692c26a5aec350c7f (patch)
tree6e185cc3500cdfffe04042169dd30f9dd7d34924 /desktop-widgets/about.ui
parentd6bfcd5245f1f15bfc087dc78988969866ea6a9b (diff)
downloadsubsurface-9c2619ea3bcf8a0ad40a758692c26a5aec350c7f.tar.gz
For About UI window layout, use SetFixedSize.
Window is resized according to its content. There is no need for user to resize this window.
Diffstat (limited to 'desktop-widgets/about.ui')
-rw-r--r--desktop-widgets/about.ui15
1 files changed, 9 insertions, 6 deletions
diff --git a/desktop-widgets/about.ui b/desktop-widgets/about.ui
index c1731c0d8..98159253c 100644
--- a/desktop-widgets/about.ui
+++ b/desktop-widgets/about.ui
@@ -9,8 +9,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>365</width>
- <height>423</height>
+ <width>450</width>
+ <height>355</height>
</rect>
</property>
<property name="sizePolicy">
@@ -29,8 +29,11 @@
<property name="modal">
<bool>true</bool>
</property>
- <layout class="QVBoxLayout" name="verticalLayout" stretch="0,1,0">
- <item>
+ <layout class="QGridLayout" name="gridLayout">
+ <property name="sizeConstraint">
+ <enum>QLayout::SetFixedSize</enum>
+ </property>
+ <item row="0" column="0">
<widget class="QLabel" name="subsurfaceIcon">
<property name="text">
<string/>
@@ -43,7 +46,7 @@
</property>
</widget>
</item>
- <item>
+ <item row="1" column="0">
<widget class="QLabel" name="aboutLabel">
<property name="text">
<string/>
@@ -59,7 +62,7 @@
</property>
</widget>
</item>
- <item>
+ <item row="2" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">