From d801bd622a0d01cbfd5de9baf5207f888a31f962 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 25 May 2015 14:20:21 -0300 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.ui | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'qt-ui/mainwindow.ui') 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 @@ 0 + + 0 + + + 0 + + + 0 + + + 0 + @@ -243,7 +255,7 @@ - &Edit device names + Edit device &names @@ -699,7 +711,7 @@ - Find moved images + &Find moved images -- cgit v1.2.3-70-g09d2