Many or most will recognise these lines from the listctrl demo code, with a little modification.
I can change the font for a line in a listctrl using the lines shown at the end of this fragment. However, the lines in the listctrl do not increase in height to accommodate the larger font, and I am at a loss as to how to request a larger size.
Can someone please advise me?
items = musicdata.items()
for key, data in items:
index = self.list.InsertItem(self.list.GetItemCount(), data[0])
self.list.SetItem(index, 1, data[1])
self.list.SetItem(index, 2, data[2])
self.list.SetItemData(index, key)
font = wx.Font(self.GetClassDefaultAttributes().font)
font.SetPixelSize((0,25))
self.list.SetItemFont(index, font)