[Gambas-bugtracker] Bug #2772: Background image of the form changes according to the theme
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Sat Aug 5 15:13:43 CEST 2023
http://gambaswiki.org/bugtracker/edit?object=BUG.2772&from=L21haW4-
Comment #2 by Gianluigi GRADASCHI:
Hi Benoit,
to give complete information.
The change of the image (adaptation to the theme) takes place only if you load the picture directly:
.Picture = Picture['./images/chalet.png']
If you create an image, load it ('load' and 'stretch') the adaptation to the theme does not happen.
If you also use a PictureBox the image looks better, see attachments.
Regards
Gianluigi
----------------------------------------------------------------------------
Attachment: dark-without-pbox.png
Attachment: dark-PictureBox.png
More information about the Bugtracker
mailing list