Skip to content

Commit

Permalink
Merge pull request #2598 from infinity77/patch-2
Browse files Browse the repository at this point in the history
Fix for #2410
  • Loading branch information
swt2c committed Sep 5, 2024
2 parents d869f28 + 7168de5 commit 85069e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wx/lib/agw/ultimatelistctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -4573,7 +4573,7 @@ def DrawInReportMode(self, dc, line, rect, rectHL, highlighted, current, enabled
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:
Expand Down

0 comments on commit 85069e9

Please sign in to comment.