Compare commits
2 Commits
85b8536925
...
01582d4ad1
Author | SHA1 | Date | |
---|---|---|---|
01582d4ad1 | |||
3941dae44a |
@ -173,6 +173,7 @@ func (this *containerBox) setAttr (attr tomo.Attr, user bool) {
|
|||||||
case tomo.AttrOverflow:
|
case tomo.AttrOverflow:
|
||||||
if this.attrOverflow.Set(attr, user) {
|
if this.attrOverflow.Set(attr, user) {
|
||||||
this.invalidateLayout()
|
this.invalidateLayout()
|
||||||
|
this.invalidateMinimum()
|
||||||
}
|
}
|
||||||
|
|
||||||
case tomo.AttrLayout:
|
case tomo.AttrLayout:
|
||||||
|
@ -167,6 +167,7 @@ func (this *textBox) setAttr (attr tomo.Attr, user bool) {
|
|||||||
|
|
||||||
case tomo.AttrOverflow:
|
case tomo.AttrOverflow:
|
||||||
if this.attrOverflow.Set(attr, user) {
|
if this.attrOverflow.Set(attr, user) {
|
||||||
|
this.invalidateMinimum()
|
||||||
this.invalidateLayout()
|
this.invalidateLayout()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user