This is a possible simple fix for #2239 (SetHeaderHeight does not work in UltimateListCtrl). 

Only tested on Windows.
This commit is contained in:
Andrea Gavana
2025-03-31 14:14:42 +02:00
committed by GitHub
parent 4247674c0b
commit 605e77bb73

View File

@@ -13609,6 +13609,7 @@ class UltimateListCtrl(wx.Control):
raise Exception("Invalid height passed to SetHeaderHeight: %s"%repr(height))
self._headerWin._headerHeight = height
self._headerWin.InvalidateBestSize()
self.DoLayout()