[Gambas-user] Problems positioning controls in form with menu
Benoît Minisini
gambas at ...1...
Fri May 11 20:01:40 CEST 2012
Le 11/05/2012 19:50, Greg Raffaelle a écrit :
> 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
Do you have a little project that shows this bug?
--
Benoît Minisini
More information about the User
mailing list