I guest there must be a property like contentpadding. Often you have to look at the API of the base class. The API shows you always witch class was extended.
Maybe that hint helps. Von meinem iPhone gesendet Am 27.01.2011 um 21:09 schrieb josefkoller <[email protected]>: > > Hi, > > first by using the demobrowser I thought qooxdoo is easy to use and clear > strutered. > I read in the docu by layout and in the forum topics. All looks very simple. > > But now I have biggest problems to format some objects in a good manner. > > for example: > > I create a window (this is the background for all other components) like > this: > startWin = new qx.ui.window.Window("Imkerei Verwaltung", > "icon/22/places/folder.png"); > startWin.setLayout(new qx.ui.layout.VBox()); > startWin.setShowClose(false); > startWin.setShowMaximize(false); > startWin.setShowMinimize(false); > startWin.setMovable(false); > startWin.show(); > this.getRoot().add(startWin, {left:0, top:0, width:'100%', height:'100%'}); > var container = new qx.ui.container.Composite(new qx.ui.layout.VBox()); > startWin.add(container); > var menubar = new qx.ui.menubar.MenuBar; > container.add(menubar); > var fileMenu = new qx.ui.menubar.Button("File"); > menubar.add(fileMenu); > > > I tested different layouts, but I get ever a margin between left to the > window and to the bottom of the "blue" window header. > > What I have to do to get the following picture: > > Container position: directly under the "blue" window header. No spaces to > left and top. > Menu background : the same blue color like the window header. > > i can define the backgroundcolor to container or button but not to the > menubar. > > > Many thanks for help > > Josef > -- > View this message in context: > http://qooxdoo.678.n2.nabble.com/positioning-and-colors-of-Objects-tp5967623p5967623.html > Sent from the qooxdoo mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
