Hi, thanks for the report, I agree that's not how the Desktop is expected to behave in this case. Could you please open an issue in Bugzilla for this?
Regards, Daniel On 02/28/2011 10:31 PM, lgxco wrote: > Hi, I started working with qooxdoo a couple of week ago and it is really > a great framework!! I'm writing an application composed by a Toolbar and > a Desktop, the desktop have a background image (not repeated). I noticed > that if a window is moved across the bottom edge or the right edge the > desktop is resized. Desktop background and the toolbar are resized as > well. It is a bug You can see the issue in the link below, it is the > desktop demo running in playground > http://demo.qooxdoo.org/1.3/playground/#%7B%22code%22%3A%20%22%252F*%2520************************************************************************%250A%250A%2520%2520%2520qooxdoo%2520-%2520the%2520new%2520era%2520of%2520web%2520development%250A%250A%2520%2520%2520http%253A%252F%252Fqooxdoo.org%250A%250A%2520%2520%2520Copyright%253A%250A%2520%2520%2520%2520%25202004-2008%25201%25261%2520Internet%2520AG%252C%2520Germany%252C%2520http%253A%252F%252Fwww.1und1.de%250A%250A%2520%2520%2520License%253A%250A%2520%2520%2520%2520%2520LGPL%253A%2520http%253A%252F%252Fwww.gnu.org%252Flicenses%252Flgpl.html%250A%2520%2520%2520%2520%2520EPL%253A%2520http%253A%252F%252Fwww.eclipse.org%252Forg%252Fdocuments%252Fepl-v10.php%250A%2520%2520%2520%2520%2520See%2520the%2520LICENSE%2520file%2520in%2520the%2520project%27s%2520top-level%2520directory%2520for%2520details.%250A%250A%2520%2520%2520Authors%253A%250A%2520%2520%2520%2520%2520*%2520Sebastian%2520Werner%2520%28wpbasti%29%250A%2520%2520%2520% 2520%2520*%2520Fabian%2520Jakobs%2520%28fjakobs%29%250A%250A************************************************************************%2520*%252F%250A%250A%252F*%2520************************************************************************%250A%250A%2523asset%28qx%252Ficon%252F%2524%257Bqx.icontheme%257D%252F32%252Factions%252Fgo-home.png%29%250A%250A************************************************************************%2520*%252F%250A%250Aqx.Class.define%28%2522demobrowser.demo.widget.Desktop%2522%252C%250A%257B%250A%2520%2520extend%2520%253A%2520qx.application.Standalone%252C%250A%250A%2520%2520members%2520%253A%250A%2520%2520%257B%250A%2520%2520%2520%2520main%253A%2520function%28%29%250A%2520%2520%2520%2520%257B%250A%2520%2520%2520%2520%2520%2520this.base%28arguments%29%253B%250A%250A%2520%2520%2520%2520%2520%2520var%2520tabView%2520%253D%2520new%2520qx.ui.tabview.TabView%28%29%253B%250A%2520%2520%2520%2520%2520%2520this.getRoot%28%29.add%28tabView%252C%2520%257Bedge%253A%2 5200%257D%29%253B%250A%250A%2520%2520%2520%2520%2520%2520var%2520page%2520%253D%2520new%2520qx.ui.tabview.Page%28%2522Desktop%2522%252C%2520%2522icon%252F32%252Factions%252Fgo-home.png%2522%29%253B%250A%2520%2520%2520%2520%2520%2520page.setLayout%28new%2520qx.ui.layout.Grow%28%29%29%253B%250A%2520%2520%2520%2520%2520%2520tabView.add%28page%29%253B%250A%250A%2520%2520%2520%2520%2520%2520var%2520windowManager%2520%253D%2520new%2520qx.ui.window.Manager%28%29%253B%250A%250A%2520%2520%2520%2520%2520%2520var%2520desktop%2520%253D%2520new%2520qx.ui.window.Desktop%28windowManager%29%253B%250A%2520%2520%2520%2520%2520%2520desktop.set%28%257Bdecorator%253A%2520%2522main%2522%252C%2520backgroundColor%253A%2520%2522background-pane%2522%257D%29%253B%250A%2520%2520%2520%2520%2520%2520page.add%28desktop%29%253B%250A%250A%2520%2520%2520%2520%2520%2520var%2520winDefs%2520%253D%2520%255B%250A%2520%2520%2520%2520%2520%2520%2520%2520%255B300%252C%2520200%252C%252030%252C%252050%255D%252C%250A%25 20%2520%2520%2520%2520%2520%2520%2520%255B250%252C%2520250%252C%2520150%252C%252070%255D%252C%250A%2520%2520%2520%2520%2520%2520%2520%2520%255B400%252C%2520300%252C%2520300%252C%252060%255D%250A%2520%2520%2520%2520%2520%2520%255D%253B%250A%250A%2520%2520%2520%2520%2520%2520for%2520%28var%2520i%253D0%253B%2520i%253CwinDefs.length%253B%2520i%252B%252B%29%250A%2520%2520%2520%2520%2520%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520var%2520def%2520%253D%2520winDefs%255Bi%255D%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520var%2520win%2520%253D%2520new%2520qx.ui.window.Window%28%2522Window%2520%2523%2522%2520%252B%2520%28i%252B1%29%29.set%28%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520width%253A%2520def%255B0%255D%252C%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520height%253A%2520def%255B1%255D%252C%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520showClose%2520%253A%2520false%252C%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520showMinim ize%2520%253A%2520false%250A%2520%2520%2520%2520%2520%2520%2520%2520%257D%29%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520win.moveTo%28def%255B2%255D%252C%2520def%255B3%255D%29%253B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520desktop.add%28win%29%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520win.open%28%29%253B%250A%2520%2520%2520%2520%2520%2520%257D%250A%250A%2520%2520%2520%2520%257D%250A%2520%2520%257D%250A%257D%29%253B%250A%22%7D > and this is a simplified version of the application > http://demo.qooxdoo.org/1.3/playground/#%7B%22code%22%3A%20%22qx.Class.define%28%2522myApp.MyApp%2522%252C%250A%257B%250A%2520%2520extend%2520%253A%2520qx.application.Standalone%252C%250A%250A%2520%2520members%2520%253A%250A%2520%2520%257B%250A%2520%2520%2520%2520main%253A%2520function%28%29%250A%2520%2520%2520%2520%257B%250A%2520%2520%2520%2520%2520%2520this.base%28arguments%29%253B%250A%250Avar%2520container%2520%253D%2520new%2520qx.ui.container.Composite%28%29%253B%250Acontainer.setLayout%28new%2520qx.ui.layout.Dock%280%252C%25200%29%29%2520%253B%250Athis.getRoot%28%29.add%28container%252C%2520%257Bedge%253A%25200%257D%29%253B%250A%250Avar%2520desktop%2520%253D%2520new%2520qx.ui.window.Desktop%28%2520%2520%29%2520%253B%250Avar%2520win%2520%253D%2520new%2520qx.ui.window.Window%28%2520%2522window%2522%2520%29%2520%253B%250Adesktop.add%28win%29%253B%250Avar%2520toolbar%2520%253D%2520new%2520qx.ui.toolbar.ToolBar%28%29%253B%2520%250A%250Avar%2520buttons%2520%253D%2520new%252 0qx.ui.toolbar.Part%28%29%253B%250Atoolbar.add%28%2520buttons%2520%29%253B%250Avar%2520button%2520%253D%2520new%2520qx.ui.toolbar.Button%28%2520%2522button%2522%2520%29%253B%250Abuttons.add%28%2520button%2520%29%253B%250Atoolbar.addSpacer%28%29%253B%250A%250Abuttons%2520%253D%2520new%2520qx.ui.toolbar.Part%28%29%253B%250Atoolbar.add%28%2520buttons%2520%29%253B%250Abutton%2520%253D%2520new%2520qx.ui.toolbar.Button%28%2520%2522button%2522%2520%29%253B%250Abuttons.add%28%2520button%2520%29%253B%250A%250Acontainer.add%28toolbar%252C%2520%257Bedge%253A%2522north%2522%257D%29%253B%250Acontainer.add%28desktop%252C%2520%257Bedge%253A%2522center%2522%257D%29%253B%250A%250Awin.open%28%29%253B%250A%250A%2520%2520%257D%250A%2520%257D%250A%257D%2520%29%253B%22%7D > > > qx.Class.define("myApp.MyApp", > { > extend : qx.application.Standalone, > > members : > { > main: function() > { > this.base(arguments); > > var container = new qx.ui.container.Composite(); > container.setLayout(new qx.ui.layout.Dock(0, 0)) ; > this.getRoot().add(container, {edge: 0}); > > var desktop = new qx.ui.window.Desktop( ) ; > var win = new qx.ui.window.Window("window" ) ; > desktop.add(win); > var toolbar = new qx.ui.toolbar.ToolBar(); > > var buttons = new qx.ui.toolbar.Part(); > toolbar.add( buttons ); > var button = new qx.ui.toolbar.Button("button" ); > buttons.add( button ); > toolbar.addSpacer(); > > buttons = new qx.ui.toolbar.Part(); > toolbar.add( buttons ); > button = new qx.ui.toolbar.Button("button" ); > buttons.add( button ); > > container.add(toolbar, {edge:"north"}); > container.add(desktop, {edge:"center"}); > > win.open(); > > } > } > } ); > > PS sorry for the poor english > ------------------------------------------------------------------------ > View this message in context: desktop resized when window moved on > south/east edge > <http://qooxdoo.678.n2.nabble.com/desktop-resized-when-window-moved-on-south-east-edge-tp6075021p6075021.html> > Sent from the qooxdoo mailing list archive > <http://qooxdoo.678.n2.nabble.com/> at Nabble.com. > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search& Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > > > > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
