Author: mlytwyn
Date: Sat Aug 22 17:57:26 2015
New Revision: 38916
URL: http://svn.gna.org/viewcvs/gnustep?rev=38916&view=rev
Log:
Add comment to NSButtonCell.m describing the reason for the change
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/NSButtonCell.m
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSButtonCell.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSButtonCell.m?rev=38916&r1=38915&r2=38916&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSButtonCell.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSButtonCell.m Sat Aug
22 17:57:26 2015
@@ -1122,6 +1122,10 @@
|| [controlView mouse: [[controlView window]
mouseLocationOutsideOfEventStream]
inRect: cellFrame]))
{
+ // Testplat-MAL-2015-08-22: Turns out this draw is using the full
+ // frame as opposed to the reduced frame. This ends up drawing
+ // buttons way too big compared to Cocoa version...
+ // Question is: what is the correct solution?
cellFrame = [self drawingRectForBounds:cellFrame];
[self drawBezelWithFrame: cellFrame inView: controlView];
}
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs