Fix for invisible elements added via packEnd method 09/201309/1
authorLukasz Wlazly <l.wlazly@partner.samsung.com>
Tue, 12 Mar 2019 09:00:38 +0000 (10:00 +0100)
committerLukasz Wlazly <l.wlazly@partner.samsung.com>
Tue, 12 Mar 2019 09:00:38 +0000 (10:00 +0100)
Change-Id: I15c8cb3d177de1c4151a2a5f75e5c3aff6f935fa

src/Box.cpp

index 6be4740..11fbbc0 100644 (file)
@@ -9,5 +9,7 @@ Box::Box(Widget *parent)
 
 void Box::packEnd(Widget *widget)
 {
+       // Needs to be here as pack_end function does not support show state propagation
+       widget->show();
        elm_box_pack_end(uniqueObj_.get(), widget->getObject());
 }