Kent Olsson schrieb:
Hej!

There are still issues with the layouting mechanism in QxListVIew and
QxDOckLayout. The layouting mechanism will be changed and I guess
Sebastian is working on that right now.

Sorry, I haven't already the time to work on the layout stuff. I think this will be done later. Approximately in a month or two.

Sebastian


Kent

On Fri, 2006-03-17 at 15:08 +0100, Andreas Foerschl wrote:
Hi,
there is a problem in resizing the QxListView dependend on the browser
window size.
With following code a ListView is added to the document.
The horizontal resizing works fine, if you enlarge the browser window
(per mouse). The vertical resizing works fine, if you decrease the browser window .
But the vertical resizing fails, if you increase the browser window.
Then the javascript application doesn't respond anymore (menu,
listview selection etc.).
Is there any solution or workaround known? Also the resizement doesn't work inside any LayoutManager or
QxSplitPane....
Thanks in Advance,
Andreas
<body>
  <script type="text/javascript">
  window.application.main = function()
  {
    var doc = this.getClientWindow().getClientDocument();
//-------------------------------------------------------------------------
    // ListView.
    var ld = [{col1 : { text : "row1"}}];
    var lc = {col1 : { label : "col1", width : 200, type : "text" }};
var view = new QxListView(ld, lc);
    view.setLocation(0, 0);
    view.setDimension(QxDom.getWindowInnerWidth(window),
QxDom.getWindowInnerHeight(window));
    view.setBorder(QxBorderObject.presets.inset);
    view.setBackgroundColor("white");
    doc.add(view);
//-------------------------------------------------------------------------
    // Resize Handler.
    doc.addEventListener(QxConst.EVENT_TYPE_RESIZE,
    function(e)
    {
      nClientHeight = QxDom.getWindowInnerHeight(window);
      window.status = nClientHeight;
      view.setHeight(nClientHeight);
      view.setWidth(QxDom.getWindowInnerWidth(window));
    });
  };
  </script>
</body>




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to