Commit 6da9e14
committed
[Mac] Buttons with font sizes>23pt are not correctly rendered #3085
Fix the issue by handling the case when a button uses a custom font with
size > 16pt. In this case adjust the button height in
cellSizeForBounds(), similar to the other height adjustment fixes
already present.
Signed-off-by: Stefan Winkler <stefan@winklerweb.net>1 parent 588e560 commit 6da9e14
File tree
1 file changed
+10
-0
lines changed- bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets
1 file changed
+10
-0
lines changedLines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
154 | 164 | | |
155 | 165 | | |
156 | 166 | | |
| |||
0 commit comments