From a500be754cfa6de7f1f18f985fab2f6870700a44 Mon Sep 17 00:00:00 2001 From: deva Date: Sat, 23 Jul 2005 10:22:12 +0000 Subject: *** empty log message *** --- src/mainwindow.cc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'src') 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 ); } -- cgit v1.2.3