diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-09-26 18:14:09 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-09-26 18:14:09 -0300 |
commit | 098aa6343b7b806c5c23f6e55c52b998bbe0c388 (patch) | |
tree | 3f67046013bb6240546f2ca4a6f07ef1d0fd9d82 /qt-ui/diveplanner.cpp | |
parent | 57ebed9dd0c550e689e30c7c9c2dbdcd4c133b58 (diff) | |
download | subsurface-098aa6343b7b806c5c23f6e55c52b998bbe0c388.tar.gz |
Fixed the display of Subsurface in Smaller Screens
This patch fixes the display of subsurface in smaller
screens by creating ScrollArea containers that are
now englobbing each of the Tab-pages and the Planner
Widget. Some of those widgets were pretty big by the
amount of things on it and it was too big for small
( 14" and 15" ) screens.
This seems to fix it, and looks good both on Gtk+ and
Oxygen styles.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r-- | qt-ui/diveplanner.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index f23970a29..4fbdc5eb0 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -887,6 +887,9 @@ DivePlannerWidget::DivePlannerWidget(QWidget* parent, Qt::WindowFlags f): QWidge ui->decoStopSAC->setText("17"); ui->lowGF->setText("30"); ui->highGF->setText("75"); + + setMinimumWidth(0); + setMinimumHeight(0); } void DivePlannerWidget::startTimeChanged(const QTime& time) |