Re: [qooxdoo-devel] Setting Combobox Default ListItem

2006-11-21 Thread Jonathan Viney
field.setSelected(item_no); Just a guess -Jonathan. On 11/22/06, Aaron Cooper <[EMAIL PROTECTED]> wrote: Hi Guys, Spent a good 3 hours trying to do this simple task, and can't find the way of doing it in the API or Demos. Take this simple Yes/No Combobox class that I have made: functi

Re: [qooxdoo-devel] Autocompleter

2006-11-18 Thread Jonathan Viney
100 widgets, add them to a VerticalBoxLayout, and call flushGlobalQueues. The widgets aren't complete, but even so, with a bit of caching and optimisation it might just be alright. -Jonathan. On 11/18/06, Sebastian Werner <[EMAIL PROTECTED]> wrote: Jonathan Viney schrieb: > Ok, but w

Re: [qooxdoo-devel] Labels that wrap around don't get extra space in the layout

2006-11-18 Thread Jonathan Viney
Embed until this works directly with Label. Even if you apply the width currently the calculation of the auto height will only calculate based on one row (without wrapping). Sebastian Jonathan Viney schrieb: > I just found Sebastian's previous reply: > > """ >

Re: [qooxdoo-devel] Autocompleter

2006-11-18 Thread Jonathan Viney
ngBuilder. Hope this helps. Sebastian Jonathan Viney schrieb: > Hi, > > As part of evaluating qooxdoo for new application, I need to devise some > kind of autocompleter. The current one has the following features (see > attached picture): > > - Delayed timer on text input b

Re: [qooxdoo-devel] Labels that wrap around don't get extra space in the layout

2006-11-17 Thread Jonathan Viney
he height. This does seem to be quite a large issue when dealing with text of unknown size. Cheers, -Jonathan. On 11/18/06, Jonathan Viney <[EMAIL PROTECTED]> wrote: When using a VerticalBoxLayout, a label that gets wrapped around to the line below doesn't seem to push the widgets bel

[qooxdoo-devel] Labels that wrap around don't get extra space in the layout

2006-11-17 Thread Jonathan Viney
When using a VerticalBoxLayout, a label that gets wrapped around to the line below doesn't seem to push the widgets below it further down, it just writes over the top. Here's some example code: h = new qx.ui.layout.VerticalBoxLayout(); h.setWidth(200); l1 = new qx.ui.basic.Label("This label is

Re: [qooxdoo-devel] How to stop a TabView or ButtonView from changing pages?

2006-11-17 Thread Jonathan Viney
If anyone's interested, I've attached the modified button control. -Jonathan. On 11/17/06, Alex D. <[EMAIL PROTECTED]> wrote: Then you probably have to modify the _onmousedown method of the TabViewButton to first save the data and then to set the Button checked. It's just how I'd like the UI

[qooxdoo-devel] Autocompleter

2006-11-17 Thread Jonathan Viney
Hi, As part of evaluating qooxdoo for new application, I need to devise some kind of autocompleter. The current one has the following features (see attached picture): - Delayed timer on text input before querying server for data (saves unnecessary requests) - Server returns HTML to put in dropdo

Re: [qooxdoo-devel] Equivalent of Prototype's Function.prototype.bind?

2006-11-17 Thread Jonathan Viney
(qx.lang.Array.fromArguments (arguments))); } } -Jonathan. On 11/18/06, Jonathan Viney <[EMAIL PROTECTED]> wrote: I couldn't see an equivalent function to Prototype's bind function, does one exist? I saw in Core.js that the code from prototype is there, but commented out because of th

[qooxdoo-devel] Equivalent of Prototype's Function.prototype.bind?

2006-11-17 Thread Jonathan Viney
I couldn't see an equivalent function to Prototype's bind function, does one exist? I saw in Core.js that the code from prototype is there, but commented out because of the possibility of leaks. Anyway, here is some code modified from Prototype to work with qooxdoo: Function.prototype.bind = func

Re: [qooxdoo-devel] How to stop a TabView or ButtonView from changing pages?

2006-11-17 Thread Jonathan Viney
It's just how I'd like the UI to work, not letting the tab change until data on the visible tab has been saved. -Jonathan. On 11/17/06, Alex D. <[EMAIL PROTECTED]> wrote: I think i do not understand your idea. Why would you like to stop the tabview-change event to save the data? You can let t

Re: [qooxdoo-devel] How to stop a TabView or ButtonView from changing pages?

2006-11-17 Thread Jonathan Viney
You mean disable them until the currently visible tab can be changed? I could, but I don't really want their appearance changing all the time. When there is unsaved data on the current page and the user clicks on a different page, I want to be able to stop that event, throw a timeout on (1 second

[qooxdoo-devel] How to stop a TabView or ButtonView from changing pages?

2006-11-17 Thread Jonathan Viney
Hi, I'd like to be able to prevent a TabView/ButtonView from changing pages if a certain condition isn't met (in my case, if the data hasn't been saved on the currently visible page). Is there some event I can attach to and return false or stop it's propagation? I've already written classes to m

Re: [qooxdoo-devel] Another FF strange focus issue

2006-10-12 Thread Jonathan Viney
I'm fairly certain that the issue will not be fixed in FF2.0. It is fixed in FF trunk, and will be released with FF3.0. There is a bugzilla entry with a discussion about it on the Mozilla site somewhere.I wish the FF guys had fixed this for 2.0, but that's life.-Jonathan.On 10/13/06, Alex D. <[EMA

Re: [qooxdoo-devel] Table with a fixed header and left column, but scrollable body?

2006-09-16 Thread Jonathan Viney
Thanks! I should have seen that myself as it is on the page about qu.ui.Table. Qooxdoo is looking better and better :)-Jonathan.On 9/17/06, Sirichoke <[EMAIL PROTECTED]> wrote: qx.ui.TableJonathan Viney wrote:> Hi,>> I've been looking at qooxdoo recently and it looks fantastic :)>> I was wondering

[qooxdoo-devel] Table with a fixed header and left column, but scrollable body?

2006-09-16 Thread Jonathan Viney
Hi,I've been looking at qooxdoo recently and it looks fantastic :)I was wondering if any of the widgets allow you to have a table with a fixed header and a fixed left column, while the data in the table can scroll in both directions? Is this possible with any of the existing widgets? In my case, ea