[Gambas-user] Moving a modal child window

charlesg charles at ...1784...
Wed Aug 24 14:53:43 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
-- 
View this message in context: http://old.nabble.com/Moving-a-modal-child-window-tp32326228p32326228.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list