From 486ff0990f53b4a4420c51dcaa07cd94c4725428 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 10 Jun 2014 12:22:01 -0700 Subject: More layout work for stats tab This finally gets me something that I like. The way the different boxes get resized seems pleasant and intuitive. And it appears to do the right thing on all platforms (I learned that having different levels of layout nested creates no vertical offset on Linux/KDE, but a very ugly offset on Mac, for example). Signed-off-by: Dirk Hohndel --- qt-ui/maintab.ui | 216 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 128 insertions(+), 88 deletions(-) (limited to 'qt-ui') diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui index 08ac218be..eb9333ab0 100644 --- a/qt-ui/maintab.ui +++ b/qt-ui/maintab.ui @@ -289,8 +289,8 @@ 0 0 - 668 - 658 + 100 + 30 @@ -369,8 +369,8 @@ 0 0 - 668 - 658 + 387 + 285 @@ -736,98 +736,138 @@ - - - Duration - - - - - - - + + + + + Duration + + + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 0 + 0 + + + + + - - - Total Time - - - - - - - - - Qt::AlignCenter - - - - - - - - - - Dives - - - - - - - - - Qt::AlignCenter - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 0 - 0 - - - + + + + + Total Time + + + + + + + + + Qt::AlignCenter + + + + + + + + + + Dives + + + + + + + + + Qt::AlignCenter + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 0 + 0 + + + + + - - - - Gas Consumption - - - - - - - - - Qt::AlignCenter - - - - - + + + + + + Gas Consumption + + + + + + + + + Qt::AlignCenter + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 0 + 0 + + + + + groupBox_8b groupBox_4b - groupBox_11b - groupBox_14 groupBoxb - groupBox_7b - groupBox_13 -- cgit v1.2.3-70-g09d2