Re: [qooxdoo-devel] Groupbox does not autosize

2006-08-28 Thread Sebastian Werner
dperez schrieb: > Hi Ralf, > > I make the background transparent. > In my case it autosizes. > Have you used groupbox.setWidth('auto') and .setHeight('auto')? BTW: You can also use 'auto()'. Does the same :) Sebastian > > > Ralf Nieuwenhuijsen wrote: >> And another question: why does it force

Re: [qooxdoo-devel] Groupbox does not autosize

2006-08-28 Thread Sebastian Werner
Alex D. schrieb: > Hi, > I used > groupbox.setWidth('auto') and .setHeight('auto') > but my groupbox didn't autosize. I had to put a VerticalBoxLayout in my > Groupbox and all children in it(Vbox) in order the groupbox to autosize > itself. This makes no sense in my opinion. It should defini

Re: [qooxdoo-devel] Build Failed on detecting type qx.constant.Type.String

2006-08-28 Thread Sebastian Werner
Sirichoke schrieb: Build faild while generating api docs. The error was about detecting string data type qx.constant.Type.String in tool\generator\modules\api.py line 492 Could you please send us some more details. Have you execute a "make distclean" before. Thanks. Sebastian

Re: [qooxdoo-devel] InputCheckSymbol .. what does it do?

2006-08-28 Thread Sebastian Werner
Ralf Nieuwenhuijsen schrieb: > I've been playing with InputCheckSymbol, but can't really figure out > what it does or suppose to do? > > It seems like a normal TextField withouth validator, but with a name > (how is it used?) and a type (hmm) .. interesting I can't select any > contents I type

Re: [qooxdoo-devel] a little bug with qx.window.Window

2006-08-28 Thread Sebastian Werner
A bug report (bugzilla) would be wonderful. Sebastian Ralf Nieuwenhuijsen schrieb: > > In the following example the window does not get its icon set, but it > does receive the current caption: > > var w = new qx.window.Window; > > // add the window to the desktop code snippet > > w.se

Re: [qooxdoo-devel] tooltip is badly positioned

2006-08-28 Thread Sebastian Werner
Ralf Nieuwenhuijsen schrieb: > I'll be looking into it, before my project is done. But currently i'm > not even compiling the code or anything. So I need to set that up anyway > to make any changes. (But i will eventually do that). I'm currently just > loading the 900kb qx.js file.. > > I will

Re: [qooxdoo-devel] Groupbox does not autosize

2006-08-28 Thread Alex D.
Hi, I used     groupbox.setWidth('auto') and .setHeight('auto') but my groupbox didn't autosize. I had to put a VerticalBoxLayout in my Groupbox and all children in it(Vbox) in order the groupbox to autosize itself. Cheers alex.d Hi Ralf, I make the background transparent. In my case it a

Re: [qooxdoo-devel] Groupbox does not autosize

2006-08-28 Thread dperez
Hi Ralf, I make the background transparent. In my case it autosizes. Have you used groupbox.setWidth('auto') and .setHeight('auto')? Ralf Nieuwenhuijsen wrote: > > And another question: why does it force a #CC color background? > > But it will only look nice in such an already #CC col

Re: [qooxdoo-devel] ColorSelector and localization

2006-08-28 Thread dperez
Hi, Next week when I'll be using ColorSelectors, I will make a patch, so that they use settings (that can be overriden in a custom qooxdoo). Sebastian Werner wrote: > > We should maybe move these > labels to the qx.Proto/qx.Class or make a settings from then. > > A patch against current SVN

[qooxdoo-devel] Build Failed on detecting type qx.constant.Type.String

2006-08-28 Thread Sirichoke
Build faild while generating api docs. The error was about detecting string data type qx.constant.Type.String in tool\generator\modules\api.py line 492 - Using Tomcat but need to do more? Need to support web services, se

[qooxdoo-devel] InputCheckSymbol .. what does it do?

2006-08-28 Thread Ralf Nieuwenhuijsen
I've been playing with InputCheckSymbol, but can't really figure out what it does or suppose to do?It seems like a normal TextField withouth validator, but with a name (how is it used?) and a type (hmm) .. interesting I can't select any contents I type in it! And it isn't accesible using the tab ke

Re: [qooxdoo-devel] Groupbox does not autosize

2006-08-28 Thread Ralf Nieuwenhuijsen
And another question: why does it force a #CC color background? But it will only look nice in such an already #CC colored surrounding. Which means that adding a groupbox to a tabpane or a window looks ugly. Couldn't it just draw the atom and the frame and not mess with the background color

[qooxdoo-devel] Groupbox does not autosize

2006-08-28 Thread Ralf Nieuwenhuijsen
Groupbox does not autosize based upon its children it seems. Is this the expected behaviour?GreetingsRalf - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated te

[qooxdoo-devel] a little bug with qx.window.Window

2006-08-28 Thread Ralf Nieuwenhuijsen
In the following example the window does not get its icon set, but it does receive the current caption:  var w = new qx.window.Window;   // add the window to the desktop code snippet   w.setCaption ('test window');  w.setIcon    ('icon/16/password.png'); I would expect it to reuse the atom widget,

Re: [qooxdoo-devel] tooltip is badly positioned

2006-08-28 Thread Ralf Nieuwenhuijsen
I'll be looking into it, before my project is done. But currently i'm not even compiling the code or anything. So I need to set that up anyway to make any changes. (But i will eventually do that). I'm currently just loading the 900kb qx.js file..I will try to give it the following behaviour: if ve

Re: [qooxdoo-devel] tooltip is badly positioned

2006-08-28 Thread Sebastian Werner
Hi Ralf, you don't miss anything. It's just not that smart - currently. Maybe you want to enhance it :) Should be somewhere in ToolTip or ToolTipManager. Cheers, Sebastian Ralf Nieuwenhuijsen schrieb: > Hi, > > I'm using the release candidate version 0.6 > When using tooltips the tooltip is

[qooxdoo-devel] tooltip is badly positioned

2006-08-28 Thread Ralf Nieuwenhuijsen
Hi,I'm using the release candidate version 0.6 When using tooltips the tooltip is always positioned below and to the right: even when that is out of view!This way, all tooltips assigned to object at the bottom or the right are not completely (if at all) visible. I wish the tooltip logic was smarter

Re: [qooxdoo-devel] Update online demos to current SVN trunk

2006-08-28 Thread Marco LOMBARDO
Hi, reporting the revision number and the branch used for the demo directly on the demo page would be better, so non frequent qooxdoo users that are not receiving the mailing list find this information directly on the demo page and can answer "Is this demo up to date?" by themselves. Just an idea.

Re: [qooxdoo-devel] Update online demos to current SVN trunk

2006-08-28 Thread Chris Banford
Sebastian Werner wrote: > Just an announcement. I've updated the online demos (demo.qooxdoo.org) > to the latest SVN revision. > > Cheers, > > Sebastian > > P.S. Are messages like these are interesting for the mailing list members? > Yes -- I find it useful info. Thanks! -Chris -- ***

Re: [qooxdoo-devel] Table UI Updation Problem

2006-08-28 Thread Alee
Hello, Yes, IMHO these are very frequent operations to any grid like structure. I dont know where to write those .. so writing them in this post. qx.Proto.addRow = function(newRow) { this._rowArr.push(newRow); var rowArr = this._rowArr; if (this.hasEventL

[qooxdoo-devel] Default Appearance Theme Update

2006-08-28 Thread Sebastian Werner
Hello! I've just committed (rev:) some changes to our default appearance scheme. For our new caching ideas and to improve the performance of the appearance implementation, we had the plan to remove all calls to the widget itself, while applying the appearance. This was true in these widgets: *

Re: [qooxdoo-devel] Observer?

2006-08-28 Thread Sebastian Werner
This is not implemented currently. Could be a wrapper above the current stuff, or another feature of dispatchEvent in qx.core.Target. Any contributions is this area are highly welcome. Sebastian Alex D. schrieb: > Hello, > > Does qooxdoo provides an opportunity to add one EventListener Funct

[qooxdoo-devel] Observer?

2006-08-28 Thread Alex D.
Hello, Does qooxdoo provides an opportunity to add one EventListener Function to many widgets(for example one "onkeypress" function for several textfields) without typing each time: textfield.addEventListener? I'm looking for smth. like "observer" construct(in XUL for example). Best Regards, a

Re: [qooxdoo-devel] Infinite log messages when using animated gifs

2006-08-28 Thread Ricardo Borillo
Great! Thanks for your quick response.On 8/28/06, Sebastian Werner <[EMAIL PROTECTED]> wrote: Is fixed in SVN with revision 4026.SebastianSebastian Werner schrieb: > You have already done this. I'm sorry.>> Sebastian Sebastian Werner schrieb:>> could you send me your animated GIF. I will made s

Re: [qooxdoo-devel] Appearance question:

2006-08-28 Thread dperez
Hi, I have updated the wiki solving this problem. alex.d wrote: > > Hey! > It works! I deleted the setup routine and just used ColorObject instead > and it works: > > *Instead of:* > /*var oldSetup = apar.setup; > apar.setup = function() { > this.backColorFocused

Re: [qooxdoo-devel] Update online demos to current SVN trunk

2006-08-28 Thread Alex D.
Hi, shure they are! Regards, alex.d > Hi! > > Just an announcement. I've updated the online demos (demo.qooxdoo.org) > to the latest SVN revision. > > Cheers, > > Sebastian > > P.S. Are messages like these are interesting for the mailing list members? > > -

[qooxdoo-devel] Update online demos to current SVN trunk

2006-08-28 Thread Sebastian Werner
Hi! Just an announcement. I've updated the online demos (demo.qooxdoo.org) to the latest SVN revision. Cheers, Sebastian P.S. Are messages like these are interesting for the mailing list members? - Using Tomcat but need t

[qooxdoo-devel] EventHandler fix for obscure missing click events

2006-08-28 Thread Sebastian Werner
Hi! I've just committed a fix to SVN (rev 4027). This fixed a repeatedly detected behavior that a click event isn't fired in some cases. After some investigation, the reason for this bug was found. This problem only exists in Firefox (and other gecko derivatives). The reason: When the DOM ta

Re: [qooxdoo-devel] Table UI Updation Problem

2006-08-28 Thread Alex D.
I don't think it is necessary to add this functionality to the class: addRow, DeleteRow, RemoveRow, updateRow etc. are normal array manipulations. If you want to keep your code clean just make a couple of functions to manipulate your data-array. And setValue, getValue functions are already exis

Re: [qooxdoo-devel] Table UI Updation Problem

2006-08-28 Thread dperez
Hi Alee, Maybe it would be interesting to add this functionality to SimpleTableModel, because nearly every user of this class needs to add/edit/modify data. Alee wrote: > > This solved the problem, but the thing is table will be having many rows > and there are 4-5 tables in a tab view, so don

Re: [qooxdoo-devel] Table UI Updation Problem

2006-08-28 Thread Alee
Hello Alex D., Thanks. This solved the problem, but the thing is table will be having many rows and there are 4-5 tables in a tab view, so dont you think this will turn down performance. Also, I have subclassed the SimpleTableModel, because I also added few more methods like .. addRow, DeleteRo

Re: [qooxdoo-devel] Appearance question:

2006-08-28 Thread Alex D.
Hey! It works! I deleted the setup routine and just used ColorObject instead and it works: Instead of: /*        var oldSetup = apar.setup;         apar.setup = function() {             this.backColorFocused = new qx.renderer.color.ColorObject("red");             this.backColor = new qx.render

Re: [qooxdoo-devel] Scroll bars only when needed

2006-08-28 Thread Sebastian Werner
dperez schrieb: > Hi, > > Is there an easy way of showing only the scroll bar when necessary? > > var box = new qx.ui.layout.Box > box.setOverflow('scrollY'); > box.add(someContent); setOverflow("auto"); But this has some ugly side-effects, because there is currently no easy way to detect if t

Re: [qooxdoo-devel] Table UI Updation Problem

2006-08-28 Thread Alex D.
Hmm..., I really don't see any necessity for you to override SimpleTableModel class. You can use:     rowData.push("new row of my data");      tableModel.setData(rowData); in your application with the same result. Mail if it doesn't work. Cheers, alex.d Hello, I have subclasses SimpleTabl

[qooxdoo-devel] Migration Documentation

2006-08-28 Thread Sebastian Werner
Hi, I've just written some lines about our migration support: http://qooxdoo.org/documentation/user_manual/migration_support I hope this is helpful. Sebastian -- Sebastian Werner Senior-Developer Frontend-Team [EMAIL PROTECTED] Telefon: +49 721 91374-4154 Mobil: +49 179 4590730 vCard: http:/

Re: [qooxdoo-devel] Table UI Updation Problem

2006-08-28 Thread Alee
Hello, I have subclasses SimpleTableModel and added the following function qx.Proto.addRow = function(newRow) { this._rowArr.push(newRow); if (this.hasEventListeners(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED)) { var len = this._rowArr.length;

[qooxdoo-devel] Scroll bars only when needed

2006-08-28 Thread dperez
Hi, Is there an easy way of showing only the scroll bar when necessary? var box = new qx.ui.layout.Box box.setOverflow('scrollY'); box.add(someContent); They appear always. Regards, David -- View this message in context: http://www.nabble.com/Scroll-bars-only-when-needed-tf2176232.html#a6017

Re: [qooxdoo-devel] Infinite log messages when using animated gifs

2006-08-28 Thread Sebastian Werner
Is fixed in SVN with revision 4026. Sebastian Sebastian Werner schrieb: > You have already done this. I'm sorry. > > Sebastian > > > > Sebastian Werner schrieb: >> could you send me your animated GIF. I will made some tests then. Thanks. >> >> Sebastian >> >> >> >> Ricardo Borillo schrieb:

Re: [qooxdoo-devel] Infinite log messages when using animated gifs

2006-08-28 Thread Sebastian Werner
You have already done this. I'm sorry. Sebastian Sebastian Werner schrieb: > could you send me your animated GIF. I will made some tests then. Thanks. > > Sebastian > > > > Ricardo Borillo schrieb: >> No, it works fine for a non animated gif. >> >> >> On 8/28/06, *Sebastian Werner* <[EMAIL

Re: [qooxdoo-devel] Infinite log messages when using animated gifs

2006-08-28 Thread Sebastian Werner
could you send me your animated GIF. I will made some tests then. Thanks. Sebastian Ricardo Borillo schrieb: > No, it works fine for a non animated gif. > > > On 8/28/06, *Sebastian Werner* <[EMAIL PROTECTED] > > wrote: > > This is interesting. If you use a nor

Re: [qooxdoo-devel] Table UI Updation Problem

2006-08-28 Thread Alex D.
Hi, that works fine for me. How exact do you add your data to the table? table._updateScrollBarVisibility() is only for vertical Scrollbar to appear(will hopefully not be necessary in the later versions). Cheers, alex.d Hello alex.d, Thanks for you reply. It doesn’t seem to work. I put tab

Re: [qooxdoo-devel] Infinite log messages when using animated gifs

2006-08-28 Thread Ricardo Borillo
No, it works fine for a non animated gif.On 8/28/06, Sebastian Werner <[EMAIL PROTECTED]> wrote: This is interesting. If you use a normal (non-animated) gif? Is therealso an error? Cheers,SebastianRicardo Borillo schrieb:> Hi,>> Hi found an strange situation in my application.>> When i use an anima

Re: [qooxdoo-devel] Appearance question:

2006-08-28 Thread dperez
Here is my exact code to change the appearance of all common controls (sorry, some names are in Spanish): function iniTema() { function actualiza(apar) { if (apar) { var vieState = apar.state; apar.state = function(vWidget, vThem

Re: [qooxdoo-devel] Appearance question:

2006-08-28 Thread Sebastian Werner
Normally it's better to extend the existing appearance (create a subclass) and then overwrite (define) the new or to be modified styles. Cheers, Sebastian Alex D. schrieb: > Hi, > > I tried the appearance example from > wiki(http://qooxdoo.org/documentation/developer_manual/appearances) and

Re: [qooxdoo-devel] Table UI Updation Problem

2006-08-28 Thread Alee
Hello alex.d, Thanks for you reply. It doesn’t seem to work. I put table._updateScrollBarVisibility(); right after the call to add the data but still it doesn't update the UI. Alee. alex.d wrote: > > Hi Alee, > > after you add the data to your data array(rowData) make following: >

Re: [qooxdoo-devel] Appearance question:

2006-08-28 Thread Alex D.
How "slight" is your variation? Can send me a working example please? Best Regards, alex.d Strange, I slight variation of this code works ok for me. alex.d wrote: Hi dperez, It enters the function tow times every time i focus one of the textfields(one time for the "unfocused"

Re: [qooxdoo-devel] ColorSelector and localization

2006-08-28 Thread Sebastian Werner
dperez schrieb: > Hi, > > I propose to create a setting for the label of the buttons of the > ColorSelector, that can be overriden by the build system. This would be > useful if the language of the app isn't English. The ColorSelector has a > couple of buttons labeled "OK" and "Cancel". > > Ano

Re: [qooxdoo-devel] Infinite log messages when using animated gifs

2006-08-28 Thread Sebastian Werner
This is interesting. If you use a normal (non-animated) gif? Is there also an error? Cheers, Sebastian Ricardo Borillo schrieb: > Hi, > > Hi found an strange situation in my application. > > When i use an animated gif, in the qooxdoo loading process, i found > recursive log messages like:

Re: [qooxdoo-devel] Appearance question:

2006-08-28 Thread dperez
Strange, I slight variation of this code works ok for me. alex.d wrote: > > Hi dperez, > > It enters the function tow times every time i focus one of the > textfields(one time for the "unfocused" textfield, and another one for > the "focused" - i have already debugged this - it's working per

Re: [qooxdoo-devel] Table UI Updation Problem

2006-08-28 Thread Alex D.
Hi Alee, after you add the data to your data array(rowData) make following: tableModel.setData(rowData); table._updateScrollBarVisibility(); should work. Cheers, alex.d > Hello, > > I've added some methods to add, delete, remove a row from the table. The > problem I'm faci

Re: [qooxdoo-devel] Appearance question:

2006-08-28 Thread Alex D.
Hi dperez, It enters the function tow times every time i focus one of the textfields(one time for the "unfocused" textfield, and another one for the "focused" - i have already debugged this - it's working perfectly). But it seems like qooxdoo just doesn't refresh the appearance of the widget(i

[qooxdoo-devel] Table UI Updation Problem

2006-08-28 Thread Alee
Hello, I've added some methods to add, delete, remove a row from the table. The problem I'm facing is table doesn't update its UI .. when I bring the cursor on the row where a new row should be added, then the row is displayed, (or by re-sizing the browser). I have tried calling qx.ui.core.Widg

Re: [qooxdoo-devel] Appearance question:

2006-08-28 Thread dperez
Hi Alex, Place a breakpoint in apar.state or log a message, to see if it enters there. alex.d wrote: > > Hi dperez, > > I added one more textfield but, sorry - no changes at all. It seems to > me that qooxdoo changes the appearance correctly, but anyway uses the > old one. > > Best Regards