Hi Florian,
On Tuesday April 13 2010 16:43:28 Florian Giesen wrote:
> I am trying to theme a qx.ui.form.Button. My scenario is the following: in
> my widget i have a childcontrol "myId" wich is a qx.ui.from.Button. Styling
> my button in the appearance theme of my application works so far (I want to
> create a button looking like a plain link). Here is the sample code:
Sample code looks fine to me.
> The code above is working as expected. But when i add the following line to
> the returned object of the style function, then my application does not
> load any more:
>
> return {
> font : font,
> cursor : cursor,
> textColor : textColor,
> show : "label"
> }
>
> Calling setShow("label") on the "myId" child control (button) works in my
> application code. I don't know if i did something wrong (themeing is very
> cool, but complex and i don't think I have understood it completely) or a
> bug.
Since the "show" property is themable this one should work. Is there any JS
error shown in the e.g. Firebug console which is indicating the root of this
issue?
cheers,
Alex
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel