[DEBUG] correct the set of a label in the create factory

This commit is contained in:
Edouard DUPIN 2016-03-15 21:34:54 +01:00
parent 229f45d158
commit 5ebfea1c27
2 changed files with 8 additions and 0 deletions

View File

@ -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();

View File

@ -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");
/** /**