Skip to content

Commit 6318cb0

Browse files
committed
fix(ui): adjust progress bar dimensions for macOS
* Set fixed height and minimum width for the progress bar when running on macOS to improve UI consistency.
1 parent f23ad56 commit 6318cb0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/ui/GpgFrontendUIInit.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ void WaitEnvCheckingProcess() {
9696
progress_bar->setRange(0, 0);
9797
progress_bar->setTextVisible(false);
9898

99+
#if defined(Q_OS_MACOS)
100+
progress_bar->setFixedHeight(14);
101+
progress_bar->setMinimumWidth(360);
102+
#endif
103+
99104
auto* cancel_button = new QPushButton(QCoreApplication::tr("Cancel"));
100105

101106
auto* button_layout = new QHBoxLayout;

0 commit comments

Comments
 (0)