diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-05-25 14:20:21 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-25 17:42:49 -0700 |
commit | d801bd622a0d01cbfd5de9baf5207f888a31f962 (patch) | |
tree | f6e0db77728c6a1b50d46f1bdde2c130e9198406 /qt-ui/mainwindow.ui | |
parent | 7d1df992fae41241266dc068cefb1f2c2670c745 (diff) | |
download | subsurface-d801bd622a0d01cbfd5de9baf5207f888a31f962.tar.gz |
Layout issues: Fix the layout ugliness on Mac & Linux
I seem to have found a sane way to create layouts:
If it's the 'outer' layout, the one that encapsulates everything:
- Horizontal Spacing: 5
- Vertical Spacing: 5
If it's a vertical inner layout that is grouping items like label +
control:
- Spacing: 0
This way the label will be 'touching' the item, without empty space, so
you know that the label refers to that widget.
If it's an horizontal inner layout:
- Spacing: 5
Different from the Vertical Layout, we don't want to make horizontal items
touch each other, a bit of space is fundamental to the eyes.
If it's a Grid Layout:
- Vertical Space: 0
- Horizontal Space: 5
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r-- | qt-ui/mainwindow.ui | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui index 8e98bed6c..c7367bc66 100644 --- a/qt-ui/mainwindow.ui +++ b/qt-ui/mainwindow.ui @@ -15,6 +15,18 @@ <property name="spacing"> <number>0</number> </property> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> <item> <widget class="MultiFilter" name="multiFilter" native="true"/> </item> @@ -243,7 +255,7 @@ </action> <action name="actionEditDeviceNames"> <property name="text"> - <string>&Edit device names</string> + <string>Edit device &names</string> </property> </action> <action name="actionAddDive"> @@ -699,7 +711,7 @@ </action> <action name="actionHash_images"> <property name="text"> - <string>Find moved images</string> + <string>&Find moved images</string> </property> </action> </widget> |