ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxpython-users
wxpython-users
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved