[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #29899] NSToolbarItem setView: sets minSize and maxSize
From: |
Doug Simons |
Subject: |
[bug #29899] NSToolbarItem setView: sets minSize and maxSize |
Date: |
Mon, 17 May 2010 20:46:54 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7 |
Follow-up Comment #4, bug #29899 (project gnustep):
The fix to NSToolbarItem works fine for me.
Regarding the resizing code: As it happens, I had also started to work on the
toolbar resizing code (the _takeInAccountFlexibleSpaces method) a couple of
days ago, before I saw your changes. I tried both versions, and found they
both had some problems, but I have my version working almost perfectly now
(needs a couple more tweaks). I favored my code, because it divides extra
space evenly between both flexibleSpace items and any resizable items with
maxSize > minSize, which matches the behavior on Cocoa. I'll send it to you
soon for your comments before I commit it.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29899>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/