Hi everyone.
I am new to qooxdoo and I am loving it, mainly because I donwloaded it
and a few minutes after I was able to make it work. And the look is
fantastic.
So, after a few hours I started layouting and I was doing ok until I
tried to add a split pane.
I followed the code example in the demo browser and it worked fine.
Then I tried to make set the split pane's width and height to the size
of it's container, and to resize as the browser window resizes, but I
am not able to make it work.
Here's what I am trying to do:
// content container
var contentContainer = new qx.ui.container.Composite(new
qx.ui.layout.Basic());
// split
var pane = new qx.ui.splitpane.Pane("horizontal");
// left column
var leftContainer = new qx.ui.container.Composite(new
qx.ui.layout.Grow).set({
decorator: "main"
});
// right column
var rightContainer = new qx.ui.container.Composite(new
qx.ui.layout.Grow).set({
decorator: "main"
});
// agregar al split
pane.add(leftContainer,1);
pane.add(rightContainer,2);
contentContainer.add(pane);
// add to layout
.
.
.
// Snipped, but it belongs in a grid cell
layoutManager.setRowFlex(2,1);
mainContainer.add(contentContainer,{row:2, column:0});
Now, I´ve tried:
var pane = new qx.ui.splitpane.Pane("horizontal",1);
var pane = new qx.ui.splitpane.Pane("horizontal",{flex: 1});
var pane = new qx.ui.splitpane.Pane("horizontal").set({
width: contentContainer.getWidth(),
height: contentContainer.getHeight():
});
var pane = new qx.ui.splitpane.Pane("horizontal").set({
width: "100%",
height: "100%":
});
pane.setHeight("100%");
pane.setHeight(100%);
Same for the column's containers, but no success.
The only thing that seems to work is using an integer, but I don't
want that, I don't want it's size fixed.
I've added a background color and a decorator the the contentContainer
to check if it is really full size and it is.
Is it possible? Any ideas?
Thank you
Joe=
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel