Fixed list minimum bounds calculation when not collapsed
This commit is contained in:
parent
28701d01ab
commit
68f1d052d2
@ -384,11 +384,10 @@ func (element *List) updateMinimumSize () {
|
||||
minimumWidth = entryWidth
|
||||
}
|
||||
}
|
||||
minimumWidth += theme.Padding()
|
||||
}
|
||||
|
||||
if minimumHeight == 0 {
|
||||
minimumHeight = element.contentHeight + theme.Padding() * 2
|
||||
minimumHeight = element.contentHeight + theme.Padding()
|
||||
}
|
||||
|
||||
element.core.SetMinimumSize(minimumWidth, minimumHeight)
|
||||
|
Reference in New Issue
Block a user