[qooxdoo-devel] How to move componemts in the center of IE?

2006-12-11 Thread 李宇光
Hi all, Here I made a GroupBox var fieldSet = new qx.ui.groupbox.GroupBox("Login"); and some TextField in it,then I want it will shown in the center of user's explorer ,Is there any properties ? [EMAIL PROTECTED] 2006-12-12

Re: [qooxdoo-devel] Setting Combobox Default ListItem

2006-12-11 Thread info
It seems for me that there is a simpler solution using a simple array iteration (should be faster, too).function setComboBoxValue(combo, leftValue) {  for (var i=0, a=combo.getList().getChildren(), l=a.length; i    if (a[i].getValue() == leftValue) {  return a[i];    }  }}Hope this helps.Sebast

Re: [qooxdoo-devel] Setting Combobox Default ListItem

2006-12-11 Thread Aaron Cooper
CRACKED IT! I'm sure someone will reply with a two line fix later, but I'm so damned happy I don't care. If anyone has the same problem, here is the generic function I used for setting the default value of the ComboBox to the left value of the dropdown (Like HTML) rather than the native index o

Re: [qooxdoo-devel] Setting Combobox Default ListItem

2006-12-11 Thread Aaron Cooper
I am still having major trouble with this if anyone can please help. Here is exactly what I am doing: I have made my own class of ComboBox that gets values from a database in pairs of [id]=>[text value]; The [text value] is the visible part in the dropdown, while the [id] is the value of the s

Re: [qooxdoo-devel] Table with embeded controls in the cell

2006-12-11 Thread Simon Bull
Hi Jim, I have also been trying to get table cells to respond to mouse events. I couldn't get Andreas's example to work properly either, but I have found a nasty workaround that you could use if your are really desperate. I'm not saying this is nice code -- but it will at least get you cliking

Re: [qooxdoo-devel] which additional lib to use with qooxdoo

2006-12-11 Thread Andreas Junghans
Hi Rusi, Am 11.12.2006 um 17:26 schrieb Rusi Filipov: > Rusi Filipov schrieb: >> Does anyone have any experience in combining JSON-RPC-Java and >> qooxdoo? > > I mean is it a good(simple, yet powerful) combination? Are there > better > ones when considering Java on the server? There's a buil

Re: [qooxdoo-devel] which additional lib to use with qooxdoo

2006-12-11 Thread Kirk Abbott
Hello All, I do. I am using json-rpc-java with qooxdoo and have worked out some of the quirks. I can zip up what I have and ship it if you would like. Sent me an email address. Cheers, Kirk. Rusi Filipov wrote: > Rusi Filipov schrieb: > >> Does anyone have any experience in combining JSON-

Re: [qooxdoo-devel] which additional lib to use with qooxdoo

2006-12-11 Thread Rusi Filipov
Rusi Filipov schrieb: > Does anyone have any experience in combining JSON-RPC-Java and qooxdoo? I mean is it a good(simple, yet powerful) combination? Are there better ones when considering Java on the server? Rusi - Take

Re: [qooxdoo-devel] which additional lib to use with qooxdoo

2006-12-11 Thread Rusi Filipov
yozzeff schrieb: > hi, > > i can not decide which other (non-gui) lib > i should work with when working with qooxdoo. > > there are 2 contenders so far mochikit & prototype.js. I have Java on the server side and have tried JSON-RPC-Java http://oss.metaparadigm.com/jsonrpc/. It is very simple an

Re: [qooxdoo-devel] Detecting qx.ui.table.Table row under mouse pointer

2006-12-11 Thread Dietrich Streifert
Found a solution which uses internal methods of the table scroller: /* event listener for pane scroller #0 */ table.getPaneScroller(0).addEventListener("contextmenu", function(e) { var x = e.getClientX(); var y = e.getClientY(); var row = this._getRowForPagePos(x,y);

[qooxdoo-devel] Detecting qx.ui.table.Table row under mouse pointer

2006-12-11 Thread Dietrich Streifert
Hello List, I want to add a context menu to a qx.ui.table.Table. I'm currently using the "contextmenu" event which is attached to the table. If the rows do not completely cover the tabel pane the context menu is also shown if a user clicks out of the cell area which can confuse the user becaus

[qooxdoo-devel] force recalculation of the size of a layout widgets

2006-12-11 Thread Erich Konicek
Hi, is there an easy way to force recalculation of the sizes of a layout widget? I have a complex layout and after switching the parent of a layout widget, what results in a different size of the widget, sometimes the horizontal size is not recalculated, sometimes the vertival size is not recalcu

Re: [qooxdoo-devel] Cygwin additional packages with Qooxdoo 0.7-pre

2006-12-11 Thread Fabian Jakobs
Hi Frederic, that was quick, the dependency came in just last Friday ;-) I've fixed the wiki. BTW you can do small changes like this to the Wiki as well. It's open and just requires registration. Best Fabian > Hi all, > With the latest SVN update, you need to install gettext and gettext-devel