Hi all,
First of all wishing you all a very happy 2009. May this year bring even
more happiness in your life and get more projects to use Qooxdoo ;-)
I am just back from my vacations, you would also like to congratulate
Qooxdoo team for v0.8.1 release.
Currently, I am using v0.8 SDK and have a couple of issues :
1. Minimize button of a window makes the window to vanish. Seems incorrect.
2. How to prevent the window from resizing?
I have a tabview inside my window and am dynamically adding pages to it.
I want scrollbar to appear in my tabview when it reaches the end of window.
---code snippet---
var win = new qx.ui.window.Window("abc", "xyz.png");
win.setLayout(new qx.ui.layout.VBox(20));
...
var box = new qx.ui.container.Composite;
box.setLayout(new qx.ui.layout.HBox(10));
win.add(box, {flex:1});
..
box.add(<tabview>);
---end of code -----
I tried using setResizable(false) but the window still expands if there
is no room for a new page.
I tried setWidth() but got same results as above.
I also tried setMaxWidth(). Though it stoped the window from growing,
but it couldn't prevent it child tabview from growing outside the window
causing weird results.
3. How can I get the top and left co-ordinates for a DOM element? I have
a tree node and want to get its coordinates :
-- code snippet---
var node = this.tree.getSelectedItem();
var ele = node.getContentElement();
var leftCord = qx.bom.element.Location.getLeft(ele); // gives me error
as qx.dom.Node.getDocument(elem) is null in Location.js
---end of code-----
regards
Amit Rana
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel