It's because no widgets are used for row and cell rendering. The row
renderer is not a widget and creating and assigning an appearance has
not effect.
The row renderer creates directly div html elements and the font family
and font size is set directly through the style attributes of the
created div.
Also note that the font is not a qooxdoo font object. It's just a string
containing a html element style compatible string which contains a valid
font familiy definition.
If we want to set this through appearance we have to create another
property in qx.ui.table.Table which then sets the fontFamily property in
the assigned row renderer.
This would work for the default row renderer but is not guaranteed to
work for other custom row renderers.
But yes. It would be nice to somehow have the possibility to set the
font family through appearances.
Hugh Gibson schrieb:
OK, I see. I think this is the wrong place to set the font family.
This should be done by the DataRowRenderer. I'll add the two
properties there.
Usage would be:
mytable.getDataRowRenderer().setFontFamily("blubb");
mytable.getDataRowRenderer().setFontSize(11);
I know this is a bit late, but why are we setting font information in properties and not via the current Appearance? I thought that was the "qooxdoo" way to do it?
Hugh
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel