Skip to content

Commit

Permalink
Reduce size of download button on macOs
Browse files Browse the repository at this point in the history
This should fix readability issues on macOs. On at least some version of macOS, the font color switched to white when the button's height was increased
  • Loading branch information
RobertKrajewski committed Oct 18, 2020
1 parent 5893fc2 commit 29fc038
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/browser.cpp
Expand Up @@ -20,6 +20,11 @@ Browser::Browser(QWidget *parent) :
{
ui->setupUi(this);

#if defined(Q_OS_MACOS)
// Remove minimum size of download button on macOS as it also changes the default font color
ui->syncPushButton->setMinimumHeight(0);
#endif

// Hinzufügen der Daten zur Baumansicht
l2pItemModel = new L2pItemModel();
proxy = l2pItemModel->getProxy();
Expand Down

0 comments on commit 29fc038

Please sign in to comment.