diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cc | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc index bef8514..2623d80 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -31,7 +31,7 @@ /* * $Log$ - * Revision 1.37 2005/07/23 10:11:45 deva + * Revision 1.38 2005/07/23 10:22:12 deva * *** empty log message *** * * Revision 1.35 2005/07/22 19:20:28 deva @@ -322,7 +322,7 @@ void MainWindow::createGui() g1->addWidget(btn_freeze, 3, 2); // History widgets - int w = (int)((BUTTON_WIDTH + 2) * unit); + int w = (int)(BUTTON_WIDTH * unit); int h = (int)(576.0f / (720.0f / ((float)BUTTON_WIDTH * unit))); QImage dummy_resized = img_dummy->smoothScale(w, h); @@ -345,10 +345,18 @@ void MainWindow::createGui() g0->addMultiCellWidget(status, 4, 4, 0, 1); lbl_recordtime = createLabel("", BUTTON_WIDTH, 1); - status->addWidget(lbl_recordtime, 1, TRUE); + lbl_recordtime->setFixedWidth((int)(BUTTON_WIDTH * unit) + + (gb->insideMargin() * 2) + + g1->margin() * 2 + + g0->margin() * 2); + status->addWidget(lbl_recordtime, 0, TRUE); lbl_version = createLabel("MIaV-Grab v" VERSION, BUTTON_WIDTH, 1); - status->addWidget(lbl_version, 1, TRUE); + lbl_version->setFixedWidth((int)(BUTTON_WIDTH * unit) + + (gb->insideMargin() * 2) + + g1->margin() * 2 + + g0->margin() * 2); + status->addWidget(lbl_version, 0, TRUE); status->message( TXT_READY ); } |