[Gambas-user] Problems positioning controls in form with menu

Greg Raffaelle greg.raffaelle at ...2755...
Fri May 11 19:50:05 CEST 2012


I have a problem with forms that have a menu.  The form menu and 
controls all appear correctly positioned in the gui editor.  But when 
the program is run and the form is displayed with Form1.showmodal all 
the controls are shifted up as if the menu was not there (and the 
controls partially cover the menu bar).  However if you manually resize 
the form with the mouse after it is displayed the controls move down 
into the correct position as set in the editor.  When the form is closed
 and redisplayed the controls are shifted up again covering the menu.  
It appears when the form is first opened it does not take the menu 
height into account.

Any help would be appreciated.

System info:

Gambas 3.1.1
Ubuntu Natty Narwhal
gb.qt4 desktop environment


More information about the User mailing list