X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c368d904fc27d35ae1e533155e2154dc496432e4..0f7a546d9cb38a62a5d626b38e67bcc94f12a0fb:/wxPython/demo/GridSimple.py diff --git a/wxPython/demo/GridSimple.py b/wxPython/demo/GridSimple.py index bafd643cf2..a45d1841c6 100644 --- a/wxPython/demo/GridSimple.py +++ b/wxPython/demo/GridSimple.py @@ -37,6 +37,8 @@ class SimpleGrid(wxGrid): self.SetColLabelValue(1, "column") self.SetColLabelValue(2, "labels") + self.SetColLabelAlignment(wxALIGN_LEFT, wxALIGN_BOTTOM) + # test all the events EVT_GRID_CELL_LEFT_CLICK(self, self.OnCellLeftClick) EVT_GRID_CELL_RIGHT_CLICK(self, self.OnCellRightClick)