X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbutton.cpp;h=da2c433b9d24cfc2fb3110c2e567ec6950262470;hb=b92c878a286036af106e969a29b2689876aa5f65;hp=5095379364b5c7a883d1d4fe615ec4d90655444a;hpb=43ac7c4514658754d09552463425bcd344fb9ded;p=libs%2Fgltk.git diff --git a/source/button.cpp b/source/button.cpp index 5095379..da2c433 100644 --- a/source/button.cpp +++ b/source/button.cpp @@ -51,6 +51,7 @@ void Button::autosize() void Button::set_text(const std::string &t) { text = t; + signal_autosize_changed.emit(); } void Button::set_icon(const GL::Texture2D *i)