# HG changeset patch # User Hasan Yavuz Ă–ZDERYA # Date 2019-04-17 15:27:07 # Node ID bd0977f58c6040f4553a1ea9759e727194ecf573 # Parent 151c8a6430b7574c02a4c8ede6a9ad4d1029dc72 set minimum width and right alignment for stat labels diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -242,6 +242,11 @@ MainWindow::MainWindow(QWidget *parent) connect(&sampleCounter, &SampleCounter::spsChanged, this, &MainWindow::onSpsChanged); + bpsLabel.setMinimumWidth(70); + bpsLabel.setAlignment(Qt::AlignRight); + spsLabel.setMinimumWidth(70); + spsLabel.setAlignment(Qt::AlignRight); + // init demo QObject::connect(ui->actionDemoMode, &QAction::toggled, this, &MainWindow::enableDemo);