From 2433172ac9ad1a628748f7b63beeb621b230efdf Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Sat, 10 Aug 2024 00:48:11 +0200 Subject: [PATCH] fix currentTimeLabel size --- src/mainwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 79c0aef8..c30edf9d 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -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);