On 10/22/10 1:50 PM, Nate Lowrie wrote:
> Is it possible (even at a wx level), to set row sizes individually on the
> dGrid?

Yes. It is a feature of Dabo that defaults to constant row sizing 
(dGrid.SameSizeRows 
property).

However, I don't believe there's any interface in Dabo for programatically 
setting an 
individual row height. SameSizeRows only comes into play for when the user 
sizes a 
row with the mouse.

> I have a string field that I want to display in a column.  The
> values associated with that field are strings that have a differing number
> of lines in them.  I would like to size the rows to show only the necessary
> lines.  Most of the rows only have 1 line in them but some would have
> upwards of 5, which looks ugly in the grid with fixed sizing.

See wx.grid.Grid.SetRowSize(self, row, height)

Paul
_______________________________________________
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/[email protected]

Reply via email to