bug-gnustep
[Top][All Lists]
Advanced

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

Re: app's menus width


From: Germán Arias
Subject: Re: app's menus width
Date: Tue, 23 Dec 2008 10:08:51 -0800 (PST)

--- El dom 21-dic-08, Germán Arias <germanandre304@yahoo.com> escribió:
> 
> I can't change the menu's name in the GORM's
> Inspector. If you change the name in AppController.m,
> sometimes the new menu don't have the correct width.. I
> send you attached an image with two examples. On the left I
> put the title "Test Menu Proc" on AppController.m,
> and in the right I put "TestMenuProc". In both
> times the new menu's width is wrong.  
> 

Hi, I found the problem. When create a new application in Project Center, this 
create a .gorm file, but at the same time this set the menu's title in the 
method awakeFromNib in AppController.m. Why? You can write any title in GORM's 
Inspector, but when the awakeFromNib method is called, this change the title. I 
dont' know, but I think that the line

[[NSApp mainMenu] setTitle:@"... "];

in awakeFromNib method is superfluous.     


      
____________________________________________________________________________________
¡Todo sobre Amor y Sexo!
La guía completa para tu vida en Mujer de Hoy.                       
http://mujerdehoy.telemundo.yahoo.com/





reply via email to

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