changeset 1432:6aa94c8a91de

Bordered bitmap buttons need extra padding.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 04 Dec 2011 21:49:42 +0000
parents 0676561865ac
children feb0429278e2
files mac/dw.m
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mac/dw.m	Sun Dec 04 21:29:26 2011 +0000
+++ b/mac/dw.m	Sun Dec 04 21:49:42 2011 +0000
@@ -3577,6 +3577,11 @@
                     NSSize size = [image size];
                     thiswidth = (int)size.width;
                     thisheight = (int)size.height;
+                    if([object isBordered])
+                    {
+                        extrawidth = 4;
+                        extraheight = 4;
+                    }
                 }
                 else
                 {