Invalidate container minimum size when overflow is changed
This commit is contained in:
parent
85b8536925
commit
3941dae44a
@ -173,6 +173,7 @@ func (this *containerBox) setAttr (attr tomo.Attr, user bool) {
|
||||
case tomo.AttrOverflow:
|
||||
if this.attrOverflow.Set(attr, user) {
|
||||
this.invalidateLayout()
|
||||
this.invalidateMinimum()
|
||||
}
|
||||
|
||||
case tomo.AttrLayout:
|
||||
|
Loading…
Reference in New Issue
Block a user