Jason J. Kahler schrieb:
Hello;
I'm trying to keep my code a little easier to maintain. So I add a
couple of QxWidgets to my document. I then add other widgets to those
"Panels" and they always seem to show up in the upper left position,even
when I set the top parameter. What am I doing wrong?
window.application.main = function()
{
var d = this.getClientWindow().getClientDocument(); var
leftPanel = new QxWidget();
var rightPanel = new QxWidget();
with(leftPanel)
{
setTop(48);
setLeft(20); setBorder(QxBorder.presets.black);
// setBackgroundColor("white");
setPadding(0, 0);
setWidth(650);
setBottom(30);
};
with(rightPanel)
{
setTop(48);
setLeft(670); setBorder(QxBorder.presets.black);
setBackgroundColor("blue");
// setPadding(10,10,10,10);
setWidth(300);
setBottom(30);
};
...
var navigationTabs = new NavigationTabs();
rightPanel.add(navigationTabs); var layerList = new LayerList();
rightPanel.add(layerList);
d.add(leftPanel); d.add(rightPanel);
...
in this example navigationTabs and layerList are QxWidgets. I set their
top parameters to 0 and 400 respectivly. however layerlist is draw under
navigationTabs. i.e. same topMArgin param??????
As always a complete (not) working qooxdoo example would be great. This
makes it easier for us to take a look at your problem. Thanks.
Sebastian
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel