Invalidate container minimum size when overflow is changed

This commit is contained in:
Sasha Koshka 2024-07-27 13:46:52 -04:00
parent 85b8536925
commit 3941dae44a

View File

@ -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: