panel: updated children list on resize to ensure layout takes modified widgets
This commit is contained in:
parent
208895d525
commit
11ed9558a2
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue