Re: [wxpython-users] wxGrid - no row labels
by Paul McNett other posts by this author
May 8 2008 3:37PM messages near this date
[wxpython-users] wxGrid - no row labels
|
[wxpython-users] What's going on with wx.Pen()?
Mark Erbaugh wrote:
> I'm using a wx.Grid with no row labels under GTK (Ubuntu Dapper, Python
> 2.4.3, wxWidgets 2.8.7.1). To get rid of the row label, I've been
> issuing SetRowLabelSize(0) during the grid creation. However, when the
> grid displays, it doesn't display the vertical border line on the left
> side. I found that with SetRowLabelSize(1), this border displays, but
> sometimes there is a one-pixel gap in the top left corner of the border.
> With SetRowLabelSize(2), the border looks complete.
Interesting, thanks! I was wondering why the Dabo grid had no border on
the left side (all platforms, BTW, not just Gtk). A value of 2 appears
to be best for GTK, and 1 for Windows and Mac. However, on Windows and
Mac any row label values bleed through if the row label size is greater
than 0.
Paul
_______________________________________________
wxpython-users mailing list
wxpython-users@[...].org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Thread:
Mark Erbaugh
Paul McNett
|