Done as bug #493

http://bugzilla.qooxdoo.org/show_bug.cgi?id=493

Sebastian Werner schrieb:
Ooops,

we should really modify this. The font handling of qooxdoo should be easily combinable with raw HTML nodes. Seems like a old piece of code which should be refactored. Can someone please open a bug for this. We should enhance this API to make the usage of the typical qooxdoo font handling possible here, too. Thanks.

Sebastian


Dietrich Streifert schrieb:
The font type and size is controlled by the qx.ui.table.rowrenderer.Default in the properties:

    /** The font family used for the data row */
    fontFamily :
    {
      check : "String",
init : "'Segoe UI', Corbel, Calibri, Tahoma, 'Lucida Sans Unicode', sans-serif"
    },

    /** The font size used for the data row */
    fontSize :
    {
      check : "String",
      init : "11px"
    }

Note that this are NOT qooxdoo font objects because the string values of the properties are used to generate the row html code via concatenation.

One possibility would be mark this properties to be themeable and to create a theme for them.

To set the font you can  the row renderer instance and modify the

    var drr = myTableInstance.getDataRowRenderer();
    drr.setFontFamily("my fancy font");
    drr.setFontSize("10px");

But I vote for the appearance solution with themeable properties fontFamily and fontSize.

dperez schrieb:
Hi,

I've discovered that for the Ext theme, the font of the textfield of a
ComboBoxEx and the font of the list isn't the same.

Does anyone know if there is an API for changing the font of a table?
Tables are a little different than other widgets, HTML is generated
directly.

Cheers,
David


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

--
Mit freundlichen Grüßen
Dietrich Streifert
--
Visionet GmbH
Firmensitz: Am Weichselgarten 7, 91058 Erlangen
Registergericht: Handelsregister Fürth, HRB 6573
Geschäftsführer: Stefan Lindner



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to