# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1442657643 0 # Node ID 7e23f3dccb6bc0e28dd4a822b4d4e489dcbf2956 # Parent 54f9ec5bb793d757ce3eb2d1fd4f1aaff33a57b7 Add extra border space to all entryfield controls on Yosemite and higher. diff -r 54f9ec5bb793 -r 7e23f3dccb6b mac/dw.m --- a/mac/dw.m Mon Jul 27 10:27:05 2015 +0000 +++ b/mac/dw.m Sat Sep 19 10:14:03 2015 +0000 @@ -3929,11 +3929,12 @@ thiswidth = 50; else thiswidth = 150; - /* Comboboxes need some extra height for the border... - * and even more with the new look in Yosemite. - */ + /* Comboboxes need some extra height for the border */ if([object isMemberOfClass:[ DWComboBox class]]) - extraheight = DWOSMinor < 10 ? 4 : 8; + extraheight = 4; + /* Yosemite and higher requires even more border space */ + if(DWOSMinor > 9) + extraheight += 4; } else nsstr = [object stringValue];