Hi Juan,
> Alexander Back escribió:
>
>> Hi Juan,
>>
>> Juan José Durán schrieb:
>>
>>
>>> Is there any possibility of doing this? I mean, I have an image with 4
>>> draws (or 4 different images), and I want to show one of them when the
>>> button is clicked, another diffent when it has focus, etc...
>>> Is it possible? if it is of any help it is called glyph on delphi.
>>>
>>>
>> Yes, this is possible. Just take a closer look at the apperance themes
>> of qooxdoo. You can react on different states in the appearance theme.
>> At the end of the reference[1] for the button all existing states are
>> listed.
>> To get to know more about the appearance theme take a look at [2].
>>
>> If you have further questions on appearances themes or states feel free
>> to ask ;-)
>>
>> cheers,
>> Alex
>>
>> [1] <http://demo.qooxdoo.org/current/apiviewer/#qx.ui.form.Button>
>> [2]
>> <http://qooxdoo.org/documentation/0.7/theme_support#defining_appearance_themes>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems? Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
> Well, Alex, I have read the documentation your provided (thanks mate)
> and I have understood it, but there are some questions I can´t make out:
>
> 1) I have read I can apply several apperances to the same theme, does
> this mean I can have different buttons with different appearances in the
> same form?. (if the answer is yes how can it be done, because you define
> the appearance of a "widget" not an instance of a widget.
>
You can change the appearance of a widget using the "appearance"
property. e.g.:
btn = new qx.ui.form.Button("Juhu");
btn.setAppearance("juhu-button");
and define an appearance for this button.
> 2)From what I read I suppose I should be making some icons for different
> button states, and then change them using its apperance (the doc has an
> example for this), is there any possibility to have only 1 image and
> adjust texture uv inside the image for every state?.
>
No, this is currently not supported. We have it on our list but I think
it will still take some time to get this implemented.
Best Fabian
--
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: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel