Sorry. I ment : width:"100%" when i use bs.getBar().set({width:"100%"}); then it works. Shouldn't this be default as wide as the buttonbar itself?
-----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tobias Koller (GERMO GmbH) Gesendet: Donnerstag, 24. Mai 2007 14:52 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] Button in ButtonBar - resolved Hi, when i use bs.getBar().set({width:"100"}); then it works. Shouldn't this be default as wide as the buttonbar itself? -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tobias Koller (GERMO GmbH) Gesendet: Donnerstag, 24. Mai 2007 14:43 An: [EMAIL PROTECTED]; qooxdoo Development Betreff: Re: [qooxdoo-devel] Button in ButtonBar Of course. Here is a testapp . I just took an existing one from the samples and changed the content. Then I put it in the sample\source\html\exxample-folder to test it. The button is not "100%" of the buttonbar. Its just as small as the icon and the text. I can use width:200; this works fine. But I just want to use the max size of the buttonbar :) Im using qooxdoo 0.7 beta <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>qooxdoo » Demo » Sample</title> <link type="text/css" rel="stylesheet" href="../../css/layout.css"/> <!--[if IE]> <link type="text/css" rel="stylesheet" href="../../css/layout_ie.css"/> <![endif]--> <script type="text/javascript" src="../../script/sample.js"></script> </head> <body> <script type="text/javascript" src="../../script/layout.js"></script> <div id="demoDescription"> <p>test</p> </div> <script type="text/javascript"> qx.core.Init.getInstance().defineMain(function() { var d = qx.ui.core.ClientDocument.getInstance(); var bs = new qx.ui.pageview.buttonview.ButtonView; bs.set( { top : 100, width : 200, height : 400, barPosition : "left", backgroundColor : "red" }); var bsb1 = new qx.ui.pageview.buttonview.Button("Display", "icon/16/devices/video-display.png"); bsb1.setChecked(true); bsb1.set( { iconPosition : "left", horizontalChildrenAlign : "left", width: "100%" }); bs.getBar().add(bsb1); d.add(bs); }); </script> </body> </html> -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Alex Back Gesendet: Donnerstag, 24. Mai 2007 14:20 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] Button in ButtonBar Hi Tobias, Tobias Koller (GERMO GmbH) wrote: > I ment: > > àis it possible to set the width of a button of a Buttonbar to "100%"? Yes, I just tried this out with an example. Works without problems? Do you can send me the snippet of code which is not working for you or a small example showing this problem? cheers, Alex ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel