Mercurial > dwindows
changeset 1093:25707e9f5ad1
Reverted the image scaling on buttons on Mac so it remains consistent on other platforms.
Leaving the code in commented out for future use.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 29 Jun 2011 18:33:59 +0000 |
parents | 0fc7387abfd1 |
children | b2a4cfc3cb87 |
files | mac/dw.m |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mac/dw.m Wed Jun 29 18:29:01 2011 +0000 +++ b/mac/dw.m Wed Jun 29 18:33:59 2011 +0000 @@ -3342,7 +3342,8 @@ [button setTag:cid]; [button setButtonType:NSMomentaryPushInButton]; [button setBezelStyle:NSThickerSquareBezelStyle]; - [[button cell] setImageScaling:NSImageScaleProportionallyDown]; + /* TODO: Reenable scaling in the future if it is possible on other platforms. + [[button cell] setImageScaling:NSImageScaleProportionallyDown]; */ if(DWDefaultFont) { [[button cell] setFont:DWDefaultFont];