The BorderManager class has a resolve method. The incoming value (in  
this case the String) was directly stored without any modification.

Hope this helps.

Sebastian



Am 02.06.2007 um 00:00 schrieb Rüdiger Herrmann:

> Hi all,
>
> I have a CanvasLayout with a custom appearance (i.e.
> canvasLayout.setAppearance( "my-appearance" ))
> When asking getBorder() it returns "control.border", which is the  
> string
> I use in the appearance theme to denote the border. I would have
> expected to get a qx.renderer.Border object.
> Any idea what's wrong?
>
> The border theme is defined like this:
> qx.Theme.define( "my.Borders",
> {
>    "control.border" : {
>      width : 0
>    },
>    ...
> })
>
> and the appearance theme like this:
> qx.Theme.define( "org.eclipse.swt.theme.DefaultAppearances", {
>    "my-appearance" : {
>      style : function( states ) {
>        return { border : "control.border" };
>      }
>    },
>    ...
> })
>
> Thanks in advance
> Rüdiger
>
>
> ---------------------------------------------------------------------- 
> ---
> 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


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