Re: [qooxdoo-devel] Width

2010-02-25 Thread Alexander Steitz
Hi Stefan, an alternative to "qx.ui.core.Widget.flush()" is to use your code inside an "appear" listener method. At the momemt the "appear" event is fired, the widget is available at the DOM (fully rendered). --snip-- yourComposite.addListener("appear", function(e) { var width = this.getBound

Re: [qooxdoo-devel] Width

2010-02-24 Thread Jim Hunter
At what point in your object creation are you trying to get the width? I don't recommend doing this often, but right before you try and get the width, make the following call: qx.ui.core.Widget.flush(); I do this in places where I am not getting what I think I should be getting. This causes the f

Re: [qooxdoo-devel] Width

2010-02-24 Thread Stefan Meyer
Hello, that was my first try but thats breaks the script and make an error Fehler: jobs.system.Globals.containerMiddleRight.getBounds() is null Zeile: 146 > Your not using getBounds correctly. Try: > > > alert(jobs.system.Globals.containerMiddleRight.getBounds()["width"]); > > To the best of m

Re: [qooxdoo-devel] Width

2010-02-24 Thread Jim Hunter
Your not using getBounds correctly. Try: alert(jobs.system.Globals.containerMiddleRight.getBounds()["width"]); To the best of my knowledge, getBounds should always have values if the object is on the screen and visible. Jim On Wed, Feb 24, 2010 at 1:08 PM, smisonl...@googlemail.com < smisonl

[qooxdoo-devel] Width

2010-02-24 Thread smisonl...@googlemail.com
i need the width and height of a composite but i dont get it i alwys get "null" back i try this alert(jobs.system.Globals.containerMiddleRight.getWidth()); and someone tell me that i must use this alert(jobs.system.Globals.containerMiddleRight.getBounds("width")); but alwys "null How can i

Re: [qooxdoo-devel] width in the table format

2009-03-05 Thread Alexander Back
Hi Ludger, On Wednesday 04 March 2009 ludger wrote: > Dear Qooxdoo team, > I tired > var Tabelle = new qx.ui.table.Table(Tabellenmodell).set({width: "100%"}); > no error messages just a blank screen in my browser. > my programm > > var Tabellenmodell = new qx.ui.table.model.Simple(); > Tabellenmod

[qooxdoo-devel] width in the table format

2009-03-04 Thread ludger
Dear Qooxdoo team, I tired var Tabelle = new qx.ui.table.Table(Tabellenmodell).set({width: "100%"}); no error messages just a blank screen in my browser. my programm var Tabellenmodell = new qx.ui.table.model.Simple(); Tabellenmodell.setColumns(["Id", "Nachname", "Vorname", "Geschlecht"],["id","n

Re: [qooxdoo-devel] Width of ComboBoxEx

2006-11-29 Thread Ralf Nieuwenhuijsen
Secondly, how do you make the dropdown menu as width as the input field? So, instead of sizeTextFieldToContent() i would like a sizeContentToTextField() I have tried the following hacks, but none of them seem to work: c.getList().setWidth(w) /* this updates the width of the table but not the

[qooxdoo-devel] Width of ComboBoxEx

2006-11-29 Thread Ralf Nieuwenhuijsen
I'm trying ComboBoxEx now, because it does look identical on all browsers. However, i've noticed you can't set the width. Say c is the ComboBoxEx instance, to set its width to w correctly, I have to: c.setWidth (w); c._field.setWidth(w-20); Off course its still experimental. But this seems to

Re: [qooxdoo-devel] width:'100%' of qx.ui.table.Table within a qx.ui.window.Window with

2006-10-10 Thread Dietrich Streifert
This does not work but Sebastian has the answer: You must remove the auto-sizing from your window e.g. setMinWidth(null); setMinHeight(null); Cheers, Sebastian and it works as expected. Thank you Sebastian. dperez schrieb: Perhaps would work table.setOverflow('scroll'), so that hor

Re: [qooxdoo-devel] width:'100%' of qx.ui.table.Table within a qx.ui.window.Window with

2006-10-10 Thread dperez
Perhaps would work table.setOverflow('scroll'), so that horizontal scroll bar can appear Dietrich Streifert wrote: > > Hello List! > > I want to place a qx.ui.table.Table within a qx.ui.window.Window where > the table has a width of 100% (or by setting left and right to 0) > without having t

[qooxdoo-devel] width:'100%' of qx.ui.table.Table within a qx.ui.window.Window with

2006-10-10 Thread Dietrich Streifert
Hello List! I want to place a qx.ui.table.Table within a qx.ui.window.Window where the table has a width of 100% (or by setting left and right to 0) without having the table resize the window on opening. I've given the window a width of 600px. The table is bigger then 600px and should show a