Hi all,
I'm using a table where I'm initializing it to 4x4, and then resizing
the columns to be either wider or narrower, depending on content. The
problem is that I can't seem to get rid of that empty white area to the
left and bottom of the table when the contents of the table shrink in
size. What I have is something like this:
table = FXTable.new(parent,4,4,nil,nil,
TABLE_COL_SIZABLE|TABLE_NO_COLSELECT|JUSTIFY_LEFT|LAYOUT_CENTER_Y,
0,0,0,0,5,5,5,5)
table.setTableSize(4,4)
... iterate through the stuff that populates the table with
table.setItemText(...)
table.setColumnWidth(...) # several of these, fitting to the given data
I have even added to the very end of the table-populating function:
table.resize(table.getDefaultWidth(),table.getDefaultHeight())
and I still have empty white area off to the unused region. It seems
that the unused region only obeys the 4x4 specification it was started
with and will not flex to some other dimensions.
Any ideas?
Thanks,
Tom
|