[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #36586] Submenu displayed in a wrong position with menu in-window
From: |
Germán Arias |
Subject: |
[bug #36586] Submenu displayed in a wrong position with menu in-window |
Date: |
Wed, 06 Jun 2012 05:00:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; Trisquel; Linux i686; rv:12.0) Gecko/20120502 Firefox/12.0 Abrowser/12.0 |
Follow-up Comment #1, bug #36586 (project gnustep):
Well, I confirm that the submenu isn't using the view of the menu in previous
window. And I don't know what is the problem. However I noticed that call
-setFrame:display: ensure the correct behaviour of the menu in-window. With a
different frame, because if not don't have effect of course. And only if
-setFrame:display: is called after -layout in -changeWindowHeight:
(GSWindowDecorationView.m). However -layout need know the height of the window
to do its work. So one solution is set an intermediate frame before call
-layout: (with the correct height) and then set the correct frame with
-setFrame:display:.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36586>
_______________________________________________
Mensaje enviado vía/por Savannah
http://savannah.gnu.org/