Hi Alex,

thank you:-)

I'm discovered that only thing I need is to remove theme from
settings{} in config file. Now I'm able to write:

qxsettings["qx.theme"] = "qx.theme.Classic"

in my html page.

And yeah, I know that theme can be switched on reload, my way is to
set theme based on the GET parameter;-)

Cheers
- Petr

2008/9/3 Alexander Back <[EMAIL PROTECTED]>:
> Hi Petr,
>
> Petr Kobalíček wrote:
>> Hi,
>>
>> is there a way to select theme in bootstap ?
>>
>> In bootstrap generated is something like this:
>>
>> qxsettings["qx.theme"] = "qx.theme.Modern";
> This code is generated by the setting in your config.json. Just add a
> "QXTHEME" setting inside your top-level "let" block.
>
> --snip--
> "let" :
> {
>    ....
>    "QXTHEME"      : "qx.theme.Modern"
> }
> --
>
>> I need to change this for example to:
>>
>> if (qxsettings["qx.theme"] === undefined) qxsettings["qx.theme"] =
>> "qx.theme.Modern";
>>
>> is this possible ?
>> (by this way, I can add  qxsettings["qx.theme"] = "..." to template to
>> allows users to choose the theme)
> If the user want's to choose the theme the whole application has to be
> reloaded. There is no possibility to change the theme at runtime.
> Additionally you have to include both themes in your application, which
> will increase the file size.
>
>> I'm doing this, because some users with slower CPUs complains that
>> user interface is slow, so I hope that classic theme will be faster
>> for them:-)
> Yes, the classic theme is lighter than the Modern. Classic is e.g. using
> less grid decorators which heavily using images.
>
> Hope this helps,
>   Alex
>
> P.S. I'll document the whole theming in the wiki the next couple days.
> So this will hopefully clear many things up.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to