Hi,

I've a bug with the scroll-container. When I add a desktop to
scroll-container and add some windows the scroll-container seems not to
work correct.
The scrollbars only appear if I move the window as far out of the
scroll-container to reach the minimal bounds of the window.

Here's a minimal example which shows the problem: 

/*
************************************************************************
#asset(custom/*)
************************************************************************
*/
qx.Class.define("custom.Application",
{
  extend : qx.application.Standalone,

  members :
  {
    main : function()
    {
      this.base(arguments);
      
      var scroller = new qx.ui.container.Scroll();
      scroller.set({
        width : 500,
        height : 500,
        decorator : "main"
      });
      this.getRoot().add(scroller);
      
      var desktop = new qx.ui.window.Desktop(new
qx.ui.window.Manager());
      scroller.add(desktop);
      
      var win = new qx.ui.window.Window("Window", "custom/test.png");
      win.set({
        width : 300,
        height : 300
      });
      desktop.add(win);
      win.open();
    }
  }
});

Best regards

Andreas


------------------------------------------------------------------------------
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

Reply via email to