panel: updated children list on resize to ensure layout takes modified widgets

This commit is contained in:
jean-emmanuel 2017-03-15 13:35:19 +01:00
parent 208895d525
commit 11ed9558a2

View file

@ -75,6 +75,7 @@ module.exports = class Panel extends _widgets_base {
var w = this.widget.width(),
h = this.widget.height()
}
this.children = this.widget.find('> .widget')
this.layout.setSize(w,h)
this.applyLayout()
})