[fxruby-users] FXTable: fitColumnsToContents() and fitRowsToContents()

Vladimir Konrad v.konrad at lse.ac.uk
Tue Jan 29 07:30:24 EST 2008


I have a simple table where the cells are set using .setItemText()
method (all cells are set).

I am trying to re-size the height and width of all cells so the content
of all cells is fully wisible. When I do:

@table.fitColumnsToContents(0, @table.numColumns)
@table.fitRowsToContents(0, @table.numRows)

the cells shrink to their minimal size (smaller then default without
calling .fitColumns/RowsToContents() method.

I searched but obviously missing something...


Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm

More information about the fxruby-users mailing list