diff options
author | Vsevolod Kukol <sevoku@microsoft.com> | 2016-09-22 13:18:43 +0300 |
---|---|---|
committer | Vsevolod Kukol <sevoku@microsoft.com> | 2016-09-22 15:29:17 +0300 |
commit | d51157e457776189ed6dcc0f99251622da66d0d0 (patch) | |
tree | 810a97952bdb044e349d15efffdab3b3053eb055 /Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs | |
parent | f6ec5af75daa476dda709c8f7329f4f660cae96a (diff) |
[Gtk] Fix custom Button.BackgroundColor in Prelight state
Diffstat (limited to 'Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs')
-rwxr-xr-x | Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs | 1 |
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 { |