Skip to content

Commit

Permalink
Mac subtleties
Browse files Browse the repository at this point in the history
  • Loading branch information
davy7125 committed Mar 13, 2022
1 parent 813d7a9 commit 5b66613
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sources/repository/browser/soundfontcellfull.cpp
Expand Up @@ -165,7 +165,7 @@ int SoundfontCellFull::heightForWidth(int width) const
{
float coef = 1.0;
#ifdef Q_OS_MAC
coef = 1.5; // Don't know why
coef = 2; // Don't know why
#endif

int margin = ui->verticalLayout->contentsMargins().bottom() * 2;
Expand Down
2 changes: 1 addition & 1 deletion sources/repository/daily/soundfontcell.cpp
Expand Up @@ -128,7 +128,7 @@ int SoundfontCell::heightForWidth(int width) const
{
float coef = 1.0;
#ifdef Q_OS_MAC
coef = 1.5; // Don't know why
coef = 2; // Don't know why
#endif

int margin = ui->verticalLayout->contentsMargins().bottom() * 2;
Expand Down

0 comments on commit 5b66613

Please sign in to comment.