On Fri, Jul 9, 2010 at 05:00, Fritz Zaucker <[email protected]> wrote:
> Derrell,
>
> I have a cellrenderer.Image in one of my table columns and the image is
> also
> "mis-aligned" (sticking to the top of the cells which are higher than the
> image). Any suggestion on how to get those vertically centered in the
> middle
> of the cell?
You need to figure out the correct top padding to get it centered. IIRC, the
row height is passed in the cellInfo parameter, so you can use it and the
image height to determine what padding to place at the top to get the image
centered. I recall that the default image renderer just puts in 4 pixels of
top padding, always.
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