gnustep-dev
[Top][All Lists]
Advanced

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

Re: In-window menu black bar in Xfce


From: Germán A. Arias
Subject: Re: In-window menu black bar in Xfce
Date: Sat, 7 Apr 2012 07:02:31 -0600

El Fri, 6 Apr 2012 23:26:00 -0600
"Germán A. Arias" <address@hidden> escribió:
> With current SVN I have a problem with in-window menu when the window
> use frame from string. In Gemas.app you can set the size of the
> editor. If you change the height, the next time you open gemas the
> menu is wrong. A black bar appears above the menu. You need resize
> the window to correct this. This is in Xfce. I don't know if this is
> a current problem, since in Gnome I don't had this problem. But seems
> like when the window is redraw this is done in a wrong way. I get the
> frame and put it in the window from the -awakeFromNib: method.
> Because the last time I try do it from the gorm file don't worked.

Seems like change the size at -awakeFromNib at document class isn't
a good idea. But moving the corresponding code to the delegate method
-winwodDidBecomeMainWindow: solve the problem. So I think that is
important remember that any change in the size of a window that can
display a menu, should be done after it become the main window.



reply via email to

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