mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
Should fix #2410
This should fix #2410 - Widgets placed in the UltimateListControl are drawn in the wrong location
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user