From 7aead9e314e0f110e4e8159d25fc43fe5d1e64a4 Mon Sep 17 00:00:00 2001 From: gambas Date: Tue, 20 Apr 2021 15:00:14 +0200 Subject: [PATCH] PictureBox: The Picture property does not use the cache anymore, and so does not adapt to dark theme anymore too. [GB.GUI.BASE] * BUG: PictureBox: The Picture property does not use the cache anymore, and so does not adapt to dark theme anymore too. --- comp/src/gb.gui.base/.src/PictureBox.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comp/src/gb.gui.base/.src/PictureBox.class b/comp/src/gb.gui.base/.src/PictureBox.class index 72b2ef309..edda9c6fa 100644 --- a/comp/src/gb.gui.base/.src/PictureBox.class +++ b/comp/src/gb.gui.base/.src/PictureBox.class @@ -3,7 +3,7 @@ Export Inherits UserControl -Public Const _Properties As String = "*,Padding{Range:0;64},Picture,Stretch,AutoResize,Alignment{Align.*}=TopLeft,Border{Border.None;Plain;Sunken;Raised;Etched},Mode{PictureBox.Normal;Fill;Cover;Contain;Repeat}" +Public Const _Properties As String = "*,Padding{Range:0;64},Picture{Picture:NoCache},Stretch,AutoResize,Alignment{Align.*}=TopLeft,Border{Border.None;Plain;Sunken;Raised;Etched},Mode{PictureBox.Normal;Fill;Cover;Contain;Repeat}" Public Const _DefaultEvent As String = "MouseDown" Public Const _DefaultSize As String = "16,16" Public Const _IsContainer As Boolean = False