[Gambas-bugtracker] Bug #2144: Picture displayed at wrong Position/ outside of its Container
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Wed May 19 15:45:45 CEST 2021
http://gambaswiki.org/bugtracker/edit?object=BUG.2144&from=L21haW4-
Comment #16 by Benoît MINISINI:
The only thing I can tell you is:
Don't move the window just after showing it.
As the window decorations are build asynchronously, the result of an immediate move is unpredictable.
Define the position before showing the window, or during the 'Open' event.
Anyway, you can't achieve what you did on Windows, because you can't know the window size with the decorations.
There is a trick method in Qt for getting these dimensions (with a lot of warnings about it in the documentation), but I don't think there is an equivalent in GTK+.
More information about the Bugtracker
mailing list