Hi Tobias,

yes this is how you can do this now. Unfortunately it is not possible to 
apply this approach to any widget using appearance themes. This is 
something we hopt to fully support in 0.8.

Thanks for sharing your code. Could you add it to the wiki 
<http://qooxdoo.org/documentation/0.7/snippets>?

Best Fabian
> I simulate rounded like this.
>
>                       var bar = new qx.ui.layout.HorizontalBoxLayout;
>                       
>                       bar.set({
>                               width : this.getWidth(),
>                               height : this.getHeight(),
>                               verticalChildrenAlign : "middle",
>                       });
>                       
>                       var barLeft = new qx.ui.layout.CanvasLayout;
>                       barLeft.set({
>                               width: 5,
>                               height : this.getHeight(),
>                               backgroundImage : this.leftImg
>                       });
>                       var barRight = new qx.ui.layout.CanvasLayout;
>                       barRight.set({
>                               width: 5,
>                               height : this.getHeight(),
>                               backgroundImage : this.rightImg
>                       });
>                       
>                       this.barCenter.set({
>                               width: "1*",
>                               height : this.getHeight(),
>                               verticalChildrenAlign : "middle",
>                               horizontalChildrenAlign : "center",
>                               backgroundImage : this.centerImg
>                       });
>
>
>
> this.leftImg is a rounded image (width: 5px)
> this.centerImg is a usual backgroundImg (about 100px, this will automatically 
> repeated till the end)
> this.rightImg is a rounded image for the right end
>
> I attached my sample-images that you can look at it.
>
> Tobias
>
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Fabian Jakobs
> Gesendet: Donnerstag, 21. Juni 2007 08:32
> An: qooxdoo Development
> Betreff: Re: [qooxdoo-devel] theme support in qooxdoo (vista)
>
> Hello Siarhei,
>   
>> Hello!
>>  
>> Just want to ask people who has experience with theme creation for qooxdoo.
>> How do you think what are time and resources estimations for creation theme
>> something like in Ext JS (http://extjs.com/deploy/ext/docs/index.html),
>> Vista interface. Is it possible? May be you have already known problems
>> which
>> can appear during work, changes of code, any other. Please, share your
>> experience.
>>   
>>     
> I think you can come pretty close to the Ext Vista theme. You can define 
> colors, borders, background images, paddings, ...
> Things which are currently not possible are rounded corners and shadows. 
> You can try to simulate them with images but this will only work if the 
> widget has a fixed size. The amount of time is hard to estimate. It 
> depends on how familiar you are with qooxdoo (I guess this should not be 
> a problem ;-) ) and how good you can do artistic work to create the 
> background images. I would guess it will take you about 2-3 days.
>
> Best Fabian
>
>
>
> -------------------------------------------------------------------------
> 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
>   


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, 
Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


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