Merge pull request #2598 from infinity77/patch-2

Fix for #2410
This commit is contained in:
Scott Talbert
2024-09-05 09:13:58 -04:00
committed by GitHub

View File

@@ -4573,7 +4573,7 @@ class UltimateListLineData(object):
xa, ya = self._owner.CalcScrolledPosition((0, rect.y))
wndx += xa
if rect.height > ySize and not item._expandWin:
ya += (rect.height - ySize)/2
ya += (rect.height - ySize)//2
itemRect = wx.Rect(xOld-2*HEADER_OFFSET_X, rect.y, width-xSize-HEADER_OFFSET_X, rect.height)
if overflow: