Closed mojoaxel closed 12 years ago
If a unify.ui.basic.Label is created with an empty value string and the value is set afterwards wit setValue the width of the widget is not updated.
var label = new unify.ui.basic.Label("");
Later in time:
label.setValue("I'm not insane, my mother had me tested!");
A workaround that could be used at the moment:
label.set({ value: "I'm not insane, my mother had me tested!", width: 300 //dirty! });
Relayout applies after setting new label value
If a unify.ui.basic.Label is created with an empty value string and the value is set afterwards wit setValue the width of the widget is not updated.
Later in time:
A workaround that could be used at the moment: