]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/button.cpp
Update text information when widget style changes
[libs/gltk.git] / source / button.cpp
index 91cc88c403365bfabde2a9f943627bd0814c0325..292625de9f9e4bba00e6598f1ff1eed0d645c207 100644 (file)
@@ -92,6 +92,11 @@ void Button::render_special(const Part &part) const
        }
 }
 
+void Button::on_style_change()
+{
+       text.update_style();
+}
+
 
 Button::Loader::Loader(Button &btn):
        Widget::Loader(btn)