Author: mlytwyn
Date: Tue Aug 18 00:13:03 2015
New Revision: 38907

URL: http://svn.gna.org/viewcvs/gnustep?rev=38907&view=rev
Log:
Revert button margins from theme drawing code and move into NSButtonCell which 
is more correct (still not quite right)

Modified:
    plugins/themes/WinUXTheme/WinNSButton.m

Modified: plugins/themes/WinUXTheme/WinNSButton.m
URL: 
http://svn.gna.org/viewcvs/gnustep/plugins/themes/WinUXTheme/WinNSButton.m?rev=38907&r1=38906&r2=38907&view=diff
==============================================================================
--- plugins/themes/WinUXTheme/WinNSButton.m     (original)
+++ plugins/themes/WinUXTheme/WinNSButton.m     Tue Aug 18 00:13:03 2015
@@ -77,6 +77,7 @@
   int drawState = _ButtonStateForThemeControlState(state);
    GSThemeMargins margins = [self buttonMarginsForCell: cell style: style 
state: state];
   NSRect drawFrame = [self insetFrame:frame withMargins:margins];
+  drawFrame = frame;
 
 #if 0
   NSLog(@"%s:title: %@ frame: %@ drawFrame: %@", __PRETTY_FUNCTION__, [cell 
title],


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to