Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVsevolod Kukol <sevoku@microsoft.com>2016-09-22 13:18:43 +0300
committerVsevolod Kukol <sevoku@microsoft.com>2016-09-22 15:29:17 +0300
commitd51157e457776189ed6dcc0f99251622da66d0d0 (patch)
tree810a97952bdb044e349d15efffdab3b3053eb055 /Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs
parentf6ec5af75daa476dda709c8f7329f4f660cae96a (diff)
[Gtk] Fix custom Button.BackgroundColor in Prelight state
Diffstat (limited to 'Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs')
-rwxr-xr-xXwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs b/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs
index 488e2c51..b5ab8eea 100755
--- a/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs
+++ b/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs
@@ -62,6 +62,7 @@ namespace Xwt.GtkBackend
protected override void OnSetBackgroundColor (Color color)
{
Widget.SetBackgroundColor (color);
+ Widget.SetBackgroundColor (Gtk.StateType.Prelight, color);
}
public override object Font {