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>
This commit is contained in:
Tomaz Canabrava 2013-09-26 18:14:09 -03:00
parent 57ebed9dd0
commit 098aa6343b
5 changed files with 808 additions and 581 deletions

View file

@ -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)