Spitwin within window problem
"Christian Boulanger" <[email protected]>
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Message-ID | <000701c37664$4cee7910$0300a8c0@Laptop> |
Hi,
I am still experiencing problems with the sizing of the spitwin panes (Ns
7.02)
I have a spitwin within the body of a window and assign it like this:
In the body of the page:
<div style="width: 100%; height: 98%; position: relative;left: 0px;
top: 0px;"
id="container">
In the envInit() function:
cont = document.getElementById("container");
splitwin = new NW_WIDGET_FACTORY_split_pane(true, "200", true,
10);
cont.appendChild(splitwin.domNode);
Then I need to add a manual size definition to the panes
splitwin.pane1obj.contentNode.style.height = "473px";
splitwin.pane2obj.contentNode.style.height = "473px";
Otherwise the panes just wrap around the visible content instead of
extending to the full size of the window. But this is suboptimal, since I
want to be able to resize the main window with the split pane adjusting to
that.
I have the same behaviour if I append a split_pane inside a window widget.
Am I doing something wrong, or is this nw?
Christian
_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org