bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #25236] NSToolbar: Window doesn't resize window when toolbar is add


From: Fred Kiefer
Subject: [bug #25236] NSToolbar: Window doesn't resize window when toolbar is added.
Date: Sat, 03 Jan 2009 15:25:56 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9 (like Gecko) SUSE

Update of bug #25236 (project gnustep):

                  Status:                    None => In Progress            

    _______________________________________________________

Follow-up Comment #6:

I changed the code in GSWindowDecorationView back to resize the window.
(Keeping the top of the window at the same spot)
While doing so, I fixed a bug that caused the toolbar view to overlap the
content view. So things should now be almost as before.

What is still different is that the content view now gets resized twice, one
time directly and the other when the window frame is resized. There is no
warranty that this will end up with the same layout of sub views as before. An
easy work around here is to directly adopt the size of the
GSWindowDecorationView when adding the toolbar and check for that size, when
setting the window frame. When the size already fits no resizing of the
content view is needed.

My next step will now be to run Greg's test application on Apple and see,
what I can learn from it.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25236>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]