Theming Bug for ProgressBar in a complex widget?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Theming Bug for ProgressBar in a complex widget?

Leo von Klenze
Hello,

I've a problem with a progress bar in a complex widget. I wrote a small example to reproduce this issue:
<a href="http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%22qx.Class.define%28%27test.ComplexWidget%27%252C%2520%257B%250A%2520%2520%2520%2520extend%253A%2520qx.ui.core.Widget%252C%250A%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520%252F%252F%2520CONSTRUCTOR%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520construct%253A%2520function%28%29%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520this.base%28arguments%29%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520this._setLayout%28new%2520qx.ui.layout.Grid%28%29%29%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2520%2520this._createChildControl%28%27fileprogress%27%29%253B%250A%2520%2520%2520%2520%257D%252C%250A%250A%2520%2520%2520%2520%252F%252F%2520************************************************** ********* ***************%250A%2520%2520%2520%2520%252F%252F%2520MEMBERS%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520members%253A%2520%257B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%252F*%2520overridden%2520*%252F%250A%2520%2520%2520%2520%2520%2520%2520%2520_createChildControlImpl%253A%2520function%28id%252C%2520hash%29%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520var%2520control%253B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520switch%2520%28id%29%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520case%2520%27fileprogress%27%253A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520control%2520%253D%2520new%2520qx.ui.indicator.ProgressBar%282%252C%25203%29%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520this._add%28control%252C%2520%257B%2 50A%2520% 2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520column%253A%25200%252C%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520row%253A%25200%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%257D%29%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520break%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%257D%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520return%2520control%2520%257C%257C%2520this.base%28arguments%252C%2520id%29%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%257D%250A%2520%2520%2520%2520%257D%250A%257D%29%253B%250A%250Athis.getRoot%28%29.setLayout%28new%2520qx.ui.layout.VBox%28%29%29%253B%250A%250Avar%2520testWidget%2520%253D%2520new%2520test.ComplexWidget%28%29%253B%250Athis.getRoot%28%29.add%28testWidget%29%253B%250A%250Athis.getRoot%28%29.add%28ne w%2520qx. ui.indicator.ProgressBar%282%252C%25203%29%29%253B%250A%22%2C%20%22mode%22%3A%22ria%22%7D">http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%22qx.Class.define('test.ComplexWidget'%252C%2520%257B%250A%2520%2520%2520%2520extend%253A%2520qx.ui.core.Widget%252C%250A%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520%252F%252F%2520CONSTRUCTOR%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520construct%253A%2520function()%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520this.base(arguments)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520this._setLayout(new%2520qx.ui.layout.Grid())%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2520%2520this._createChildControl('fileprogress')%253B%250A%2520%2520%2520%2520%257D%252C%250A%250A%2520%2520%2520%2520%252F%252F %2520**** **********************************************************************%250A%2520%2520%2520%2520%252F%252F%2520MEMBERS%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520members%253A%2520%257B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%252F*%2520overridden%2520*%252F%250A%2520%2520%2520%2520%2520%2520%2520%2520_createChildControlImpl%253A%2520function(id%252C%2520hash)%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520var%2520control%253B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520switch%2520(id)%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520case%2520'fileprogress'%253A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520control%2520%253D%2520new%2520qx.ui.indicator.ProgressBar(2%252C%25203)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2 520this._ add(control%252C%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520column%253A%25200%252C%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520row%253A%25200%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%257D)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520break%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%257D%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520return%2520control%2520%257C%257C%2520this.base(arguments%252C%2520id)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%257D%250A%2520%2520%2520%2520%257D%250A%257D)%253B%250A%250Athis.getRoot().setLayout(new%2520qx.ui.layout.VBox())%253B%250A%250Avar%2520testWidget%2520%253D%2520new%2520test.ComplexWidget()%253B%250Athis.getRoot().add(testWidget)%253B%250A%250Athis.getRoot().add(new %2520qx.u i.indicator.ProgressBar(2%252C%25203))%253B%250A%22%2C%20%22mode%22%3A%22ria%22%7D

I want to design a widget that contains a progress bar. But somehow the background is not set properly if the progress bar is in another widget and no therefore the progress is not visible. Adding the progress bar directly to a window or composite works fine.

Any ideas around there? Thank you for your suggestions!
Leo



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Theming Bug for ProgressBar in a complex widget?

Tristan Koch
Hi Leo,

the link you posted is broken. Could you please shorten it, for instance using tinyurl.com? Thanks!

Am 01.04.2012 um 19:09 schrieb Leo von Klenze:

> Hello,
>
> I've a problem with a progress bar in a complex widget. I wrote a small example to reproduce this issue:
> http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%22qx.Class.define('test.ComplexWidget'%252C%2520%257B%250A%2520%2520%2520%2520extend%253A%2520qx.ui.core.Widget%252C%250A%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520%252F%252F%2520CONSTRUCTOR%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520construct%253A%2520function()%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520this.base(arguments)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520this._setLayout(new%2520qx.ui.layout.Grid())%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2520%2520this._createChildControl('fileprogress')%253B%250A%2520%2520%2520%2520%257D%252C%250A%250A%2520%2520%2520%2520%252F%252F %2520**** **********************************************************************%250A%2520%2520%2520%2520%252F%252F%2520MEMBERS%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520members%253A%2520%257B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%252F*%2520overridden%2520*%252F%250A%2520%2520%2520%2520%2520%2520%2520%2520_createChildControlImpl%253A%2520function(id%252C%2520hash)%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520var%2520control%253B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520switch%2520(id)%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520case%2520'fileprogress'%253A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520control%2520%253D%2520new%2520qx.ui.indicator.ProgressBar(2%252C%25203)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2 520this._ add(control%252C%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520column%253A%25200%252C%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520row%253A%25200%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%257D)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520break%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%257D%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520return%2520control%2520%257C%257C%2520this.base(arguments%252C%2520id)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%257D%250A%2520%2520%2520%2520%257D%250A%257D)%253B%250A%250Athis.getRoot().setLayout(new%2520qx.ui.layout.VBox())%253B%250A%250Avar%2520testWidget%2520%253D%2520new%2520test.ComplexWidget()%253B%250Athis.getRoot().add(testWidget)%253B%250A%250Athis.getRoot().add(new %2520qx.u i.indicator.ProgressBar(2%252C%25203))%253B%250A%22%2C%20%22mode%22%3A%22ria%22%7D
>
> I want to design a widget that contains a progress bar. But somehow the background is not set properly if the progress bar is in another widget and no therefore the progress is not visible. Adding the progress bar directly to a window or composite works fine.
>
> Any ideas around there? Thank you for your suggestions!
> Leo
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure_______________________________________________
> qooxdoo-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Theming Bug for ProgressBar in a complex widget?

Leo von Klenze
Hi,

sure, this link should work: http://preview.tinyurl.com/bq6qvly

Thanks!

On 04/04/2012 12:49 PM, Tristan Koch wrote:

> Hi Leo,
>
> the link you posted is broken. Could you please shorten it, for instance using tinyurl.com? Thanks!
>
> Am 01.04.2012 um 19:09 schrieb Leo von Klenze:
>
>> Hello,
>>
>> I've a problem with a progress bar in a complex widget. I wrote a small example to reproduce this issue:
>> http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%22qx.Class.define('test.ComplexWidget'%252C%2520%257B%250A%2520%2520%2520%2520extend%253A%2520qx.ui.core.Widget%252C%250A%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520%252F%252F%2520CONSTRUCTOR%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520construct%253A%2520function()%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520this.base(arguments)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520this._setLayout(new%2520qx.ui.layout.Grid())%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2520%2520this._createChildControl('fileprogress')%253B%250A%2520%2520%2520%2520%257D%252C%250A%250A%2520%2520%2520%2520%252F%252F %2520**** **********************************************************************%250A%25
>   20%2520%2520%2520%252F%252F%2520MEMBERS%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520members%253A%2520%257B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%252F*%2520overridden%2520*%252F%250A%2520%2520%2520%2520%2520%2520%2520%2520_createChildControlImpl%253A%2520function(id%252C%2520hash)%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520var%2520control%253B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520switch%2520(id)%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520case%2520'fileprogress'%253A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520control%2520%253D%2520new%2520qx.ui.indicator.ProgressBar(2%252C%25203)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2 520this._ add(control%252C%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520
>   %2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520column%253A%25200%252C%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520row%253A%25200%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%257D)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520break%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%257D%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520return%2520control%2520%257C%257C%2520this.base(arguments%252C%2520id)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%257D%250A%2520%2520%2520%2520%257D%250A%257D)%253B%250A%250Athis.getRoot().setLayout(new%2520qx.ui.layout.VBox())%253B%250A%250Avar%2520testWidget%2520%253D%2520new%2520test.ComplexWidget()%253B%250Athis.getRoot().add(testWidget)%253B%250A%250Athis.getRoot().add(new %2520qx.u i.indicator.ProgressBar(2%252C%25203))%253B%250A%22%2C
>   %20%22mode%22%3A%22ria%22%7D
>> I want to design a widget that contains a progress bar. But somehow the background is not set properly if the progress bar is in another widget and no therefore the progress is not visible. Adding the progress bar directly to a window or composite works fine.
>>
>> Any ideas around there? Thank you for your suggestions!
>> Leo
>>
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure_______________________________________________
>> qooxdoo-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Theming Bug for ProgressBar in a complex widget?

Tristan Koch
Hi Leo,

you need to provide an appearance for "fileprogress". Probably you just want to map it to the appearance of the progress bar, using a child control alias. See [1] and especially [2]

Regards
Tristan

[1] http://manual.qooxdoo.org/1.6.x/pages/gui_toolkit/ui_appearance.html
[2] http://manual.qooxdoo.org/1.6.x/pages/gui_toolkit/ui_appearance.html#child-control-aliases

Am 04.04.2012 um 17:49 schrieb Leo von Klenze:

> Hi,
>
> sure, this link should work: http://preview.tinyurl.com/bq6qvly
>
> Thanks!
>
> On 04/04/2012 12:49 PM, Tristan Koch wrote:
>> Hi Leo,
>>
>> the link you posted is broken. Could you please shorten it, for instance using tinyurl.com? Thanks!
>>
>> Am 01.04.2012 um 19:09 schrieb Leo von Klenze:
>>
>>> Hello,
>>>
>>> I've a problem with a progress bar in a complex widget. I wrote a small example to reproduce this issue:
>>> http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%22qx.Class.define('test.ComplexWidget'%252C%2520%257B%250A%2520%2520%2520%2520extend%253A%2520qx.ui.core.Widget%252C%250A%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520%252F%252F%2520CONSTRUCTOR%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520construct%253A%2520function()%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520this.base(arguments)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520this._setLayout(new%2520qx.ui.layout.Grid())%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2520%2520this._createChildControl('fileprogress')%253B%250A%2520%2520%2520%2520%257D%252C%250A%250A%2520%2520%2520%2520%252F%252F %2520**** **********************************************************************%250A%25
>>  20%2520%2520%2520%252F%252F%2520MEMBERS%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520members%253A%2520%257B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%252F*%2520overridden%2520*%252F%250A%2520%2520%2520%2520%2520%2520%2520%2520_createChildControlImpl%253A%2520function(id%252C%2520hash)%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520var%2520control%253B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520switch%2520(id)%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520case%2520'fileprogress'%253A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520control%2520%253D%2520new%2520qx.ui.indicator.ProgressBar(2%252C%25203)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2 520this._ add(control%252C%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520
>>  %2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520column%253A%25200%252C%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520row%253A%25200%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%257D)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520break%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%257D%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520return%2520control%2520%257C%257C%2520this.base(arguments%252C%2520id)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%257D%250A%2520%2520%2520%2520%257D%250A%257D)%253B%250A%250Athis.getRoot().setLayout(new%2520qx.ui.layout.VBox())%253B%250A%250Avar%2520testWidget%2520%253D%2520new%2520test.ComplexWidget()%253B%250Athis.getRoot().add(testWidget)%253B%250A%250Athis.getRoot().add(new %2520qx.u i.indicator.ProgressBar(2%252C%25203))%253B%250A%22%2C
>>  %20%22mode%22%3A%22ria%22%7D
>>> I want to design a widget that contains a progress bar. But somehow the background is not set properly if the progress bar is in another widget and no therefore the progress is not visible. Adding the progress bar directly to a window or composite works fine.
>>>
>>> Any ideas around there? Thank you for your suggestions!
>>> Leo
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure_______________________________________________
>>> qooxdoo-devel mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>> ------------------------------------------------------------------------------
>> Better than sec? Nothing is better than sec when it comes to
>> monitoring Big Data applications. Try Boundary one-second
>> resolution app monitoring today. Free.
>> http://p.sf.net/sfu/Boundary-dev2dev
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Theming Bug for ProgressBar in a complex widget?

Leo von Klenze
Hey Tristan,

thank you for the quick reply. I reread the chapters twice again. I
think I understood the theming stuff a bit better now :-)
It works as you suggested. A simple alias was enough.

Best Regards,
   Leo


On 04/05/2012 12:05 PM, Tristan Koch wrote:

> Hi Leo,
>
> you need to provide an appearance for "fileprogress". Probably you just want to map it to the appearance of the progress bar, using a child control alias. See [1] and especially [2]
>
> Regards
> Tristan
>
> [1] http://manual.qooxdoo.org/1.6.x/pages/gui_toolkit/ui_appearance.html
> [2] http://manual.qooxdoo.org/1.6.x/pages/gui_toolkit/ui_appearance.html#child-control-aliases
>
> Am 04.04.2012 um 17:49 schrieb Leo von Klenze:
>
>> Hi,
>>
>> sure, this link should work: http://preview.tinyurl.com/bq6qvly
>>
>> Thanks!
>>
>> On 04/04/2012 12:49 PM, Tristan Koch wrote:
>>> Hi Leo,
>>>
>>> the link you posted is broken. Could you please shorten it, for instance using tinyurl.com? Thanks!
>>>
>>> Am 01.04.2012 um 19:09 schrieb Leo von Klenze:
>>>
>>>> Hello,
>>>>
>>>> I've a problem with a progress bar in a complex widget. I wrote a small example to reproduce this issue:
>>>> http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%22qx.Class.define('test.ComplexWidget'%252C%2520%257B%250A%2520%2520%2520%2520extend%253A%2520qx.ui.core.Widget%252C%250A%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520%252F%252F%2520CONSTRUCTOR%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520construct%253A%2520function()%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520this.base(arguments)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520this._setLayout(new%2520qx.ui.layout.Grid())%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2520%2520this._createChildControl('fileprogress')%253B%250A%2520%2520%2520%2520%257D%252C%250A%250A%2520%2520%2520%2520%252F%252F %2520**** **********************************************************************%250A%
>   25
>>>   20%2520%2520%2520%252F%252F%2520MEMBERS%250A%2520%2520%2520%2520%252F%252F%2520**************************************************************************%250A%2520%2520%2520%2520members%253A%2520%257B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%252F*%2520overridden%2520*%252F%250A%2520%2520%2520%2520%2520%2520%2520%2520_createChildControlImpl%253A%2520function(id%252C%2520hash)%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520var%2520control%253B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520switch%2520(id)%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520case%2520'fileprogress'%253A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520control%2520%253D%2520new%2520qx.ui.indicator.ProgressBar(2%252C%25203)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2 520this._ add(control%252C%2520%257B%250A%2520%2520%2520%2520%2520%2520%2
>   520
>>>   %2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520column%253A%25200%252C%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520row%253A%25200%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%257D)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520break%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%257D%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520return%2520control%2520%257C%257C%2520this.base(arguments%252C%2520id)%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%257D%250A%2520%2520%2520%2520%257D%250A%257D)%253B%250A%250Athis.getRoot().setLayout(new%2520qx.ui.layout.VBox())%253B%250A%250Avar%2520testWidget%2520%253D%2520new%2520test.ComplexWidget()%253B%250Athis.getRoot().add(testWidget)%253B%250A%250Athis.getRoot().add(new %2520qx.u i.indicator.ProgressBar(2%252C%25203))%253B%250A%22
>   %2C
>>>   %20%22mode%22%3A%22ria%22%7D
>>>> I want to design a widget that contains a progress bar. But somehow the background is not set properly if the progress bar is in another widget and no therefore the progress is not visible. Adding the progress bar directly to a window or composite works fine.
>>>>
>>>> Any ideas around there? Thank you for your suggestions!
>>>> Leo
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> This SF email is sponsosred by:
>>>> Try Windows Azure free for 90 days Click Here
>>>> http://p.sf.net/sfu/sfd2d-msazure_______________________________________________
>>>> qooxdoo-devel mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>> ------------------------------------------------------------------------------
>>> Better than sec? Nothing is better than sec when it comes to
>>> monitoring Big Data applications. Try Boundary one-second
>>> resolution app monitoring today. Free.
>>> http://p.sf.net/sfu/Boundary-dev2dev
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Better than sec? Nothing is better than sec when it comes to
>> monitoring Big Data applications. Try Boundary one-second
>> resolution app monitoring today. Free.
>> http://p.sf.net/sfu/Boundary-dev2dev
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel