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
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
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
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
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
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
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
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
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
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
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
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
12 matches
Mail list logo