Re: Setting table row height according the renderer component




noa wrote:
On Dec 20, 10:18 pm, "Oliver Wong" <o...@xxxxxxxxxxxxxx> wrote:
"noa" <noah.dr...@xxxxxxxxx> wrote in messagenews:1166621857.102513.143040@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx





Andrew Thompson wrote:
noah.dr...@xxxxxxxxx wrote:
I have a table that all it's cells are rendered, I want to set the row
height accoding the height of the tallest component.
and I also want the component height to be set automatically after I
set it's width to the column width.

Change the '.' to a comma in line 243 of the source,
that should sort the problem. In case it does not,
you might also..

any ideas?

Show us an SSCCE* that fails to correctly size the
column headers.
<http://www.physci.org/codes/sscce>

Andrew T.

Here, notice that the end of a string is marked "end of text"[code snipped]

Works for me. I'm using Java 1.6.0.

- Oliver- Hide quoted text -- Show quoted text -
1.I have to use 1.4*
2. are you sure it works? you saw the "end of text" string at the end
of every text cell?

I think the row height is set by the last rendered cell in the row,
which means that row height doesn't really change between the calls to
the cell renderers in that row.
Does it make sense?

Noa

.



Relevant Pages