Skip to content

Commit

Permalink
fixing toolbar positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Cesar authored and Paulo Cesar committed Dec 2, 2009
1 parent 2491e5c commit 421e16e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/mainwindow.cpp
Expand Up @@ -101,8 +101,8 @@ void MainWindow::adjustSizes()
webView->setGeometry(0, 0, width(), height()); //webview cover the entire window
loadingLabel->setGeometry( width()/2 - 45, height()/2 - 45, 90, 90); //put the label on the center
errorBox->setGeometry( width()/2 - 150, height()/2 - 75, 300, 150); //put the error box on the center
toolbar->setGeometry( 0, 442, 800, 38 );
miniToolbar->setGeometry( 0, 442, 30, 38 );
toolbar->setGeometry( 0, height() - 38, width(), 38 );
miniToolbar->setGeometry( 0, height() - 38, 30, 38 );
}

void MainWindow::resizeEvent(QResizeEvent* event)
Expand Down
2 changes: 1 addition & 1 deletion src/toolbar.cpp
Expand Up @@ -20,7 +20,7 @@ void Toolbar::paintEvent ( QPaintEvent * event )
{
Q_UNUSED(event);

QRectF rectangle(-5, 0, 810, 38);
QRectF rectangle(-5, 0, 1280, 38);

QPainter painter(this);

Expand Down

0 comments on commit 421e16e

Please sign in to comment.