diff --git a/daily.cpp b/daily.cpp index d46c1d8d..4f0db06d 100644 --- a/daily.cpp +++ b/daily.cpp @@ -42,6 +42,12 @@ Daily::Daily(QWidget *parent,QGLWidget * shared, MainWindow *mw) QMessageBox::critical(this,"Profile Error",QString("Couldn't get profile '%1'.. Have to abort!").arg(pref["Profile"].toString())); exit(-1); } + QList a; + a.push_back(300); + a.push_back(this->width()-300); + ui->splitter_2->setStretchFactor(0,0); + ui->splitter_2->setSizes(a); + ui->splitter_2->setStretchFactor(1,1); layout=new QHBoxLayout(ui->graphMainArea); layout->setSpacing(0); diff --git a/daily.ui b/daily.ui index b949b67b..3cdf91e6 100644 --- a/daily.ui +++ b/daily.ui @@ -28,26 +28,38 @@ + + + 0 + 0 + + Qt::Horizontal + + + 16777215 + 16777215 + + Qt::Vertical + + + 0 + 0 + + 0 180 - - - 300 - 16777215 - - 0 @@ -77,18 +89,6 @@ 0 - - - 300 - 16777215 - - - - - 300 - 0 - - Sans Serif @@ -96,7 +96,7 @@ - 0 + 1 true @@ -484,7 +484,7 @@ - 0 + 1 0