# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1308969245 0 # Node ID 991aa92a0642952a589ba2961c83bc5932840582 # Parent 4293f5ba43305c4c0d0aa6c62d659a5ec8a5710e Scale down images on bitmap buttons if they are too big on the Mac. diff -r 4293f5ba4330 -r 991aa92a0642 mac/dw.m --- 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];