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%2520this._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.ui.indicator.ProgressBar(2%252C%25203))%253B%250A%22%2C%20%22mode%22%3A%22ria%22%7D <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%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%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%28new%2520qx.ui.indicator.ProgressBar%282%252C%25203%29%29%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 qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel