Mercurial > dwindows
diff mac/dw.m @ 1071:991aa92a0642
Scale down images on bitmap buttons if they are too big on the Mac.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 25 Jun 2011 02:34:05 +0000 |
parents | efaa9ceeb253 |
children | 53fc692279fc |
line wrap: on
line diff
--- a/mac/dw.m Sat Jun 25 02:19:12 2011 +0000 +++ b/mac/dw.m Sat Jun 25 02:34:05 2011 +0000 @@ -3382,6 +3382,7 @@ [button setTag:cid]; [button setButtonType:NSMomentaryPushInButton]; [button setBezelStyle:NSThickerSquareBezelStyle]; + [[button cell] setImageScaling:NSImageScaleProportionallyDown]; if(DWDefaultFont) { [[button cell] setFont:DWDefaultFont];