URL:
<http://savannah.gnu.org/bugs/?29899>
Summary: NSToolbarItem setView: sets minSize and maxSize
Project: GNUstep
Submitted by: theeggcamefirst
Submitted on: Mon 17 May 2010 04:29:26 PM GMT
Category: Gui/AppKit
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This behavior appears to be different from Cocoa. I had code that initialized
my toolbarItem by first setting the minSize and the maxSize and then calling
setView:, but on GNUstep the call to setView: resets the minSize and maxSize
to the size of the view.
In this case I can work around it by simply changing the order of my calls,
but this incompatibility is likely to cause trouble for someone else one of
these days. Maybe it would make sense for that method to set the min and max
sizes only if they haven't already been set?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29899>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep