]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/label.cpp
Add a signal to notify when the automatic size of a widget changes
[libs/gltk.git] / source / label.cpp
index 30ccd62d16859a6555e95eb2bd7d3180e58c0fc5..e1015e8dc1f10fdb075d5295e783ccf8bfd19d69 100644 (file)
@@ -38,6 +38,7 @@ void Label::autosize()
 void Label::set_text(const string &t)
 {
        text = t;
+       signal_autosize_changed.emit();
 }
 
 void Label::render_special(const Part &part) const