Re: [qooxdoo-devel] Window background gradient

2010-04-23 Thread Jim Hunter
I ended up using the pane and had to adjust it's location because it has a 10px padding around it. I eventually got a very nice looking dialog with a subtle gradient background. Love it! Thanks for the assistance Jim On Fri, Apr 23, 2010 at 12:25 AM, Christian Hagendorn < christian.hagend...@1un

Re: [qooxdoo-devel] Window background gradient

2010-04-23 Thread Christian Hagendorn
Hi Jim, I think you have to change the decorator for the window pane: win.getChildControl("pane").setDecorator("toolbar"); Does this solve your problem? Cheers, Chris Am 22.04.2010 20:28, schrieb Jim Hunter: Turns out that the setDecorator method requires a Decoration object be passed in. So

Re: [qooxdoo-devel] Window background gradient

2010-04-22 Thread Jim Hunter
Turns out that the setDecorator method requires a Decoration object be passed in. So I tried creating a background decorator and assigning it the background image used in the scrollbar and I don't get any errors but the background of the window doesn't change. If I apply that same decorator to one

Re: [qooxdoo-devel] Window background gradient

2010-04-20 Thread Jim Hunter
Yes, this sounds like the simple solution I was looking for. I'll give it a try tomorrow. Sometimes the answer is so obvious you can't think of it. Thanks! Jim On Tue, Apr 20, 2010 at 6:27 PM, Simon Bull wrote: > I haven't tried it, but can't you simply use setDecorator("toolbar") on the > co

Re: [qooxdoo-devel] Window background gradient

2010-04-20 Thread Simon Bull
I haven't tried it, but can't you simply use setDecorator("toolbar") on the content area of your popup (replacing "toolbar" with whatever decorator you like most)? http://demo.qooxdoo.org/current/demobrowser/#ui~Decoration.html shows them all in action. Simon On Wed, Apr 21, 2010 at 8:38 AM, J

[qooxdoo-devel] Window background gradient

2010-04-20 Thread Jim Hunter
I have searched the archives and didn't see an answer to this: I need to have a gradient background in my popup windows similar to the gradient background of the toolbars. I don't have to apply the background directly to the window as I have a single container that holds all my controls that I coul