Marcel Ruff schrieb:
> Hi,
>
> I would like to use a nice png for the knob of the slider.
> Unfortunately in Slider.js this is of type "Widget".
>
> Is it possible to change this to an "Atom" for the coming
> qooxdoo release and make it available with getKnob()?
> Like this I could design it as needed.
>
> For the time being I have extended Slider and overwritten
> _createChildControlImpl : function(id)
> which does what I need.
>
You don't need an Atom to style the knob with an image. You can just set
a decorator with the desired image to the slider's knob. You can do this
either manually slider.getChildControl("knob").setDecorator(...) or in
the appearance theme.
Best Fabian
--
Fabian Jakobs
JavaScript Framework Developer
1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
[email protected]
Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel