|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Buttons cut off in FormThe following snippet, usable in the playground, shows that buttons added to a form get (apparently) shifted left and cut off. Only a tiny piece of one of the two buttons is visible. I've tried many combinations of layouts all with similar results. In this case I have two buttons (where only a piece of one is visible). Reducing it to a single button does the same thing.
I must be blind here. This should be something very simple. What am I doing wrong? (This feels like a 3am-i'm-too-tired-to-be-working question, but I don't have that excuse.) // Create a form var form = new qx.ui.form.Form(); // Create the Ok button var ok = new qx.ui.form.Button("Ok"); ok.setWidth(80); form.addButton(ok); // Create the cancel button var cancel = new qx.ui.form.Button("Cancel"); cancel.setWidth(80); form.addButton(cancel); // Create the view this.getRoot().add(new qx.ui.form.renderer.Single(form), { left : 100 }); Thanks, Derrell ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@... https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel |
|
|
Re: Buttons cut off in FormOn Sun, Nov 1, 2009 at 11:16, Derrell Lipman <derrell.lipman@...> wrote:
The following snippet, usable in the playground, shows that buttons added to a form get (apparently) shifted left and cut off. Only a tiny piece of one of the two buttons is visible. I've tried many combinations of layouts all with similar results. In this case I have two buttons (where only a piece of one is visible). Reducing it to a single button does the same thing. This is a grid layout bug. See bug 3014. Derrell ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@... https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel |
| Free embeddable forum powered by Nabble | Forum Help |