Changeset - bd0977f58c60
[Not reviewed]
reader-stat
0 1 0
Hasan Yavuz Ă–ZDERYA - 6 years ago 2019-04-17 15:27:07
hy@ozderya.net
set minimum width and right alignment for stat labels
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/mainwindow.cpp
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)