[DEBUG] correct the set of a label in the create factory
This commit is contained in:
parent
229f45d158
commit
5ebfea1c27
@ -44,6 +44,13 @@ ewol::widget::Label::~Label() {
|
||||
|
||||
}
|
||||
|
||||
void ewol::widget::Label::init() {
|
||||
ewol::Widget::init();
|
||||
// Force update the value of internal display
|
||||
onChangePropertyValue();
|
||||
}
|
||||
|
||||
|
||||
void ewol::widget::Label::calculateMinMaxSize() {
|
||||
vec2 tmpMax = propertyMaxSize->getPixel();
|
||||
vec2 tmpMin = propertyMinSize->getPixel();
|
||||
|
@ -41,6 +41,7 @@ namespace ewol {
|
||||
* @param[in] _newLabel The displayed decorated text.
|
||||
*/
|
||||
Label();
|
||||
void init() override;
|
||||
public:
|
||||
DECLARE_WIDGET_FACTORY(Label, "Label");
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user