X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Flabel.cpp;h=3805eaf587c21a31217229ca2bdb464985c10e1b;hb=c8f5fd14a1fbdaaa9e1216dd5163d1f5c1b5ff27;hp=30ccd62d16859a6555e95eb2bd7d3180e58c0fc5;hpb=43ac7c4514658754d09552463425bcd344fb9ded;p=libs%2Fgltk.git diff --git a/source/label.cpp b/source/label.cpp index 30ccd62..3805eaf 100644 --- a/source/label.cpp +++ b/source/label.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgltk -Copyright © 2007, 2009-2011 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include "label.h" #include "part.h" #include "style.h" @@ -38,6 +31,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