Opened 3 years ago
In UltimateListCtrl row inserted at the top overlaps previous one
|Reported by:||g1itch||Owned by:|
In some cases row inserted at the top of UltimateListCtrl (InsertStringItem(0, "some text")) overlaps previous rows while in wx.ListCtrl this does not happen.
- Case 1
- ULC.ULC_HAS_VARIABLE_ROW_HEIGHT not present in agwStyle. All inserted rows placed in a single location.
- Case 2
- If parent of UltimateListCtrl is wx.Panel, all rows inserted before frame Show() overlap until frame resized or next row inserted.
- Case 3
- If inserted row have controls (SetItemWindow() used), row height is sufficient for text but not for control, again until frame resized or next row inserted.
I'll attach example code which have one button for each case and button for inserting new item.