Label::Label(const Resources &r, const string &t):
Widget(r),
- text(style)
+ text()
{
+ focusable=false;
update_style();
set_text(t);
}
text.render(part, geom);
}
+void Label::on_style_change()
+{
+ text.set_style(style);
+}
+
Label::Loader::Loader(Label &l):
Widget::Loader(l)