Hi all,

Why the entries of a Color theme have an array format:

qx.Theme.define("TColor", {
        title: 'RDS estandar',
        colors: {
                'omi': [ 0xFF, 0xB0, 0xA0 ]
        }
}

and on the other hand, colors in borders don't accept array syntax:

qx.Theme.define('Borde', {
        title: 'RDS',
        extend: qx.theme.ext.Border,
        borders: {
                'barra-botones': {
                        styleBottom: 'dotted',
                        widthBottom : 1,
                        colorBottom: '#999'   // [0x99, 0x99, 0x99] isn't 
valid!!!!!!!!!
                }
        }
});

Why do we have 2 incompatible syntaxes?

Regards,
David
-- 
View this message in context: 
http://www.nabble.com/2-incompatible-color-syntaxes-tf3941003.html#a11178004
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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