diff options
author | Vsevolod Kukol <sevoku@microsoft.com> | 2016-09-22 16:03:47 +0300 |
---|---|---|
committer | Vsevolod Kukol <sevoku@microsoft.com> | 2016-09-22 16:03:47 +0300 |
commit | bdb5528e0a977532f4301d6fc80386e2209c641d (patch) | |
tree | 5fa7210f6e6f75980f5a42fafc4dd22f5735af03 /Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs | |
parent | cb0011032fb9595df27d81cff6d940c51eaac23b (diff) |
[Gtk] Fix Button.LabelColor for text only buttons
Diffstat (limited to 'Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs')
-rwxr-xr-x | Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs b/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs index 2a725b4f..42ff6f80 100755 --- a/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs +++ b/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs @@ -74,6 +74,8 @@ namespace Xwt.GtkBackend } set { customLabelColor = value; + Widget.SetForegroundColor (value); + Widget.SetForegroundColor (Gtk.StateType.Prelight, value); if (labelWidget != null) { labelWidget.SetForegroundColor (value); labelWidget.SetForegroundColor (Gtk.StateType.Prelight, value); |