Skip to content

Commit 5b66613

Browse files
committed
Mac subtleties
1 parent 813d7a9 commit 5b66613

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sources/repository/browser/soundfontcellfull.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ int SoundfontCellFull::heightForWidth(int width) const
165165
{
166166
float coef = 1.0;
167167
#ifdef Q_OS_MAC
168-
coef = 1.5; // Don't know why
168+
coef = 2; // Don't know why
169169
#endif
170170

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

sources/repository/daily/soundfontcell.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ int SoundfontCell::heightForWidth(int width) const
128128
{
129129
float coef = 1.0;
130130
#ifdef Q_OS_MAC
131-
coef = 1.5; // Don't know why
131+
coef = 2; // Don't know why
132132
#endif
133133

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

0 commit comments

Comments
 (0)