]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/toggle.cpp
Update text information when widget style changes
[libs/gltk.git] / source / toggle.cpp
index 550d97a27584fbcba9a1e6699d4e4a23d2fffb6f..62f46eb52ac94b0ac212535c720a82937c45b13c 100644 (file)
@@ -85,6 +85,11 @@ void Toggle::exclude_siblings()
                                tgl->set_value(false);
 }
 
+void Toggle::on_style_change()
+{
+       text.update_style();
+}
+
 
 Toggle::Loader::Loader(Toggle &t):
        Widget::Loader(t)