Skip to content

Commit

Permalink
fix currentTimeLabel size
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviotordini committed Aug 9, 2024
1 parent aa6da9c commit 2433172
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -913,8 +913,7 @@ void MainWindow::createToolBar() {
toolbar->addWidget(new Spacer());

currentTimeLabel->setFont(FontUtils::small());
currentTimeLabel->setMinimumWidth(currentTimeLabel->fontInfo().pixelSize() * 4);
currentTimeLabel->setAlignment(Qt::AlignRight | Qt::AlignVCenter);
currentTimeLabel->setContentsMargins(0, 0, 10, 0);
toolbar->addWidget(currentTimeLabel);

seekSlider->setOrientation(Qt::Horizontal);
Expand Down

0 comments on commit 2433172

Please sign in to comment.