[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() {
|
void ewol::widget::Label::calculateMinMaxSize() {
|
||||||
vec2 tmpMax = propertyMaxSize->getPixel();
|
vec2 tmpMax = propertyMaxSize->getPixel();
|
||||||
vec2 tmpMin = propertyMinSize->getPixel();
|
vec2 tmpMin = propertyMinSize->getPixel();
|
||||||
|
@ -41,6 +41,7 @@ namespace ewol {
|
|||||||
* @param[in] _newLabel The displayed decorated text.
|
* @param[in] _newLabel The displayed decorated text.
|
||||||
*/
|
*/
|
||||||
Label();
|
Label();
|
||||||
|
void init() override;
|
||||||
public:
|
public:
|
||||||
DECLARE_WIDGET_FACTORY(Label, "Label");
|
DECLARE_WIDGET_FACTORY(Label, "Label");
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user