El Fri, 6 Apr 2012 23:26:00 -0600 "Germán A. Arias" <[email protected]> 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. _______________________________________________ Gnustep-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnustep-dev
