Good Evening Everyone,
I am trying to change the background colour of a window, from the default gray
to white.
This is only needed in one particular window, so theming would be an overkill.
I just did the obvious:
var whiteWin = new qx.ui.window.Window("Window with white BG");
whiteWin.setBackgroundColor("white");
whiteWin.setWidth(200);
whiteWin.setHeight(155);
whiteWin.open();
this.getRoot().add(whiteWin, {left:25, top:10});
The script loads without error, the window shows up, but it still has the
default gray background colour instead of the expected white.
When I place a translucent PNG image inside the window and I change the
background colour of the image, that works fine.
Also, when I add a container and set its background colour, that works too. But
this method leaves a few pixels wide gray frame between the container and the
border of the window.
I am missing something, and I am open to suggestions.
Regards,
Keve Nagy * Debrecen * Hungary
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel