Hi all!
I want to write a icon show app (it has some buttons either), so i use UltimateListCtrl with icon style,
but the layout is very weird, the icons is untidy, just like this
maybe the icon name is too long, and the scrollbar is Horizontal, i want it be a Vertical one,
i don’t know how to make it a Vertical one too.
here is my code:
class FileList(
ULC.UltimateListCtrl
):
def init(self, parent, id=-1):
ULC.UltimateListCtrl.init(
self, parent, id, agwStyle=ULC.ULC_ICON|ULC.ULC_AUTOARRANGE
)
when i use wx.ListCtrl, it show up tidily, like this:
but wx.ListCtrl can’t add a button or other widget.
my code:
class FileList(
wx.ListCtrl
):
def init(self, parent, id=-1):
wx.ListCtrl.init(self, parent, id, style=wx.LC_ICON | wx.LC_AUTOARRANGE)
So, someone know how to make it tidily and have a Vertical scrollbar with UltimateListCtrl.
Thanks all!