[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3012: QT6 Fonts and the Font property


http://gambaswiki.org/bugtracker/edit?object=BUG.3012&from=L21haW4-

Comment #10 by Benoît MINISINI:

OK, I read the Qt source code, and Qt5 propagates the default application font changes immediately, whereas Qt6 decided to postpone it. This is why it does not have an immediate effect.

If you print 'Me.Font.ToString()' later, not just after setting 'Application.Font', or if you add a 'Wait' just after setting 'Application.Font' to let the event loop run, then you get the correct result.


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----