I am using wxPython’s DataViewCtrl to display some data. On the first column I am displaying an icon using AppendIconTextColumn. The problem is that the icon is shifted to the right and the right portion of the icon is cut off. I have tried using the flag align=ALIGN_LEFT, but that has no affect.
self.dvc = dv.DataViewCtrl(self, self.myCtrl, sytle=wx.BORDER_THEME | dv.DV_ROW_LINES | dv.DV_VERT_RULES | dv.DV_MULTIPLE)
self.dvc.AppendIconTextColumn("", mailImage, width=65, align=wx.ALIGN_LEFT)
It seems that there should be more options for configuring a cell. Like changing the background color or aligning images.
I am attaching an image of what is happening when I run my program.
Can you shed any light on what is happening?