# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1322861738 0 # Node ID 461240f946d048680e4c9d6aa2a4b93fcf4dc689 # Parent f4fc4ea9251101160cba6182a2f9813be65b7f32 Status text fields needs extra space on the Mac. diff -r f4fc4ea92511 -r 461240f946d0 mac/dw.m --- a/mac/dw.m Fri Dec 02 20:48:40 2011 +0000 +++ b/mac/dw.m Fri Dec 02 21:35:38 2011 +0000 @@ -3568,8 +3568,15 @@ else if([ object isKindOfClass:[ NSControl class ] ]) nsstr = [object stringValue]; + /* Handle static text fields */ if([object isKindOfClass:[ NSTextField class ]] && ![object isEditable]) - extrawidth = 8; + { + /* Handle status bar field */ + if([object isBordered] || (DWOSMinor > 5 && [object isBezeled])) + extrawidth = 12; + else + extrawidth = 8; + } /* If we have a string... * calculate the size with the current font.