text size for label in nextmapwidget fix

This commit is contained in:
kremsy 2015-01-18 19:14:09 +01:00
parent f46cd9c939
commit e1663af886

View File

@ -483,6 +483,7 @@ class WidgetPlugin implements CallbackListener, TimerListener, Plugin {
$label->setTextSize(1.3); $label->setTextSize(1.3);
$label->setText($name); $label->setText($name);
$label->setTextColor('fff'); $label->setTextColor('fff');
$label->setSize($width - 5, $height);
$label = new Label_Text(); $label = new Label_Text();
$frame->add($label); $frame->add($label);