[Gambas-user] Moving a modal child window

Benoît Minisini gambas at ...1...
Fri Aug 26 23:13:11 CEST 2011


> Hi
> 
> I am trying to position a modal child window relative to its parent. When I
> put 'me.top = FMain.top + 20' in the _Open class of the child, it works
> with GTK but not QT (where the child window opens centered).
> 
> I can get the child window to move correctly in both GTK and QT by using a
> 1msec timer event to do the move (once).
> 
> Surely there is a more elegent way? Should I expect the QT and GTK versions
> to work the same or will there inevitably be differences?
> 
> Linux Mint 11 32bit
> Gambas3 4036

That bug should be fixed in revision #4043.

Regards,

-- 
Benoît Minisini




More information about the User mailing list