]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/label.cpp
Strip copyright messages and id tags from individual files
[libs/gltk.git] / source / label.cpp
index 30ccd62d16859a6555e95eb2bd7d3180e58c0fc5..3805eaf587c21a31217229ca2bdb464985c10e1b 100644 (file)
@@ -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