On Dec 19, 2007, at 10:12 AM, Dennis Meulensteen wrote:
> I did two updates, shutting everything down in between.
> The about box now reports:
>
> Platform: GTK
> Python Version: 2.5.1 on linux2
> Dabo Version: Version 0.8.3; Revision ~3823
> UI Version: 2.8.4.0 on wxGTK (gtk2)
>
> But my words are still not wrapping, even though the grid has ample
> room for
> multiple rows. (I can live without it though as I have linked in an
> editbox
> on the form to the current record. So I can at least see the
> contents of the
> current cell.)
I just tried it on this system:
Platform: GTK
Python Version: 2.5.1 on linux2
Dabo Version: Version 0.8.3; Revision ~3823
UI Version: 2.8.7.1 on wxGTK (gtk2)
...and setting WordWrap for a Column did indeed work as expected.
There are two possibilities: either something changed in wxGtk
between 2.8.4.0 (your version) and 2.8.7.1 (my version), or you're
not setting things correctly.
Let's say that 'grd' is a reference to your grid, and the third
column is the one that you want to word-wrap. Your code should look
something like:
col = grd.Columns[2]
grd.RowHeight = 50
col.WordWrap = True
Are you doing something like that?
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]