Closed Kvaz1r closed 4 years ago
It's regression from this commit. There is also dependency from size (here and here) so ScrollPosition need been updated after resize too.
Yep, I see it. Thanks! It looks like we need to do a little more checking in that code.
I don't see good fix for it. Or cache for size or ugly reset and restore horizOffset in SetSize:
temp := e.horizOffset
e.horizOffset = -1
e.SetHorizOffset(temp)
Description
Horizontal scrollbar doesn't contain thumb after resize.
Steps to reproduce
Expected behavior
Horizontal scrollbar contains thumb.
Actual behavior
Horizontal scrollbar doesn't contain thumb.