| Vertical cell alignment [message #589516] |
Wed, 30 April 2008 09:18 |
|
Originally posted by: Florian.Assmus.prodyna.de
Hi all,
I was wondering if there is an easy way to adjust the vertical alignment
of the text inside a cell. I checked the DefaultCellRenderer but it
seems the text is always drawn at the top of the cell.
gc.drawString(text, getBounds().x + x, getBounds().y + textTopMargin +
topMargin, true);
Do I have to write my own cell renderer or is there an easy way which I
have just overlooked?
Regards,
Florian
|
|
|
Powered by
FUDForum. Page generated in 0.01785 seconds