On Thu, Jul 8, 2010 at 05:36, Fritz Zaucker <[email protected]>wrote:
> Hi,
>
> how can I make the content of table cells vertically centered?.
>
> The table playground example shows that the text more at towards the top of
> the cell.
>
>
This is a result of the qooxdoo "default" font having a line-height
attribute of 1.4. The "default" font is specified by the row renderer. If
you add the following line, you'll see that the text entries are then
centered. (Then again, you'll also see that it's using the browser's default
font instead of the qooxdoo "default" font, so simply adding this line is
almost certainly not all you want to do. You'll need to fix the "default"
font, or add a new one. Look at the call to _renderFont in the constructor
of qx.ui.table.rowrenderer.Default.
table.getDataRowRenderer()._renderFont(null);
Derrell
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel