Re: [qooxdoo-devel] Qooxdoo and XTML documents

2006-10-23 Thread Alessandro Sala
Ciao Sebastian, > The reason I didn't replace document.write() entirely is that while > testing I found that > adding script elements using DOM methods doesn't work reliably in IE 6: > the script nodes > gets added, but it seems they are parsed in the wrong order (or not at > all): the result i

Re: [qooxdoo-devel] Opening menu "up"

2006-10-23 Thread Tomek Loboda
In my case the menu will always appear in the same place so I will do the calculations once. Thanks a bunch Jason. --Tomek Priebe, Jason wrote: >> If it's not possible how would you guys go about solving that >> problem? >> Calculating the size of the menu and setting its position manually? >

Re: [qooxdoo-devel] alert() makes buttons buggy with firefox

2006-10-23 Thread Sebastian Werner
Normally the main window should get a blur event. Please take a look to the event handler. Maybe it's possible to add there something to revert the focus and states applied. Otherwise please open a bug on this. Sebastian Dietrich Streifert schrieb: > Hi Sebastian, > > for alert this is OK but

Re: [qooxdoo-devel] Opening menu "up"

2006-10-23 Thread Priebe, Jason
> If it's not possible how would you guys go about solving that > problem? > Calculating the size of the menu and setting its position manually? That's how we do it. The following is a function that we use to show a menu in response to button presses. The menu comes up in a number of different

[qooxdoo-devel] Opening menu "up"

2006-10-23 Thread Tomek Loboda
Hi guys, I was wondering if it's possible to have a menu button with the menu opening up. That'd be quite an useful behavior if you wanted to have a menu button at the bottom edge of the screen (the Start menu in Windows is a good example). If it's not possible how would you guys go about solv

[qooxdoo-devel] MenuBar.auto() annihilates HorizontalSpacer inside MenuBar

2006-10-23 Thread Elie Dumas
Hi all,In a menu.MenuBar, i use an HorizontalSpacer to push further buttons to the right side of the MenuBar;  this works fine, but if i then call auto() onto this menuBar (so that its dimensions be optimized), the spacer is forgotten: every menuBar button is kept to the left. I would have expected

Re: [qooxdoo-devel] Changing font size for accessibility

2006-10-23 Thread Sebastian Werner
Hi Hugh, thank you for your comments on this. Yes the font size handling is somewhat unused yet. Internally the most things use Font instead of FontObject as you have found out correctly. Normally I think the font-size handling should be possible to apply through the browser. Especially if we

Re: [qooxdoo-devel] alert() makes buttons buggy with firefox

2006-10-23 Thread Dietrich Streifert
Hi Sebastian, for alert this is OK but I'd like to use confirm to simplify user decision logic. Is there something I can do to solve this by eg. giving the focus back to the qooxdoo hierarchie. Sebastian Werner schrieb: Another workaround is maybe to execute the alert inside a timeout. Se

Re: [qooxdoo-devel] Groupbox appearance

2006-10-23 Thread dperez
Here is the patch solving this: http://www.nabble.com/file/3805/DefaultAppearanceTheme.diff DefaultAppearanceTheme.diff dperez wrote: > > Here is the screenshot for this code: > > qx.core.Init.getInstance().defineMain(function() { > var grp = new qx.ui.groupbox.GroupBox('This is really

[qooxdoo-devel] Groupbox appearance

2006-10-23 Thread dperez
Here is the screenshot for this code: qx.core.Init.getInstance().defineMain(function() { var grp = new qx.ui.groupbox.GroupBox('This is really a very long long long title'); grp.auto(); grp.add(new qx.ui.form.TextField); grp.addToDocument(); } http://www.nabble.c

Re: [qooxdoo-devel] alert() makes buttons buggy with firefox

2006-10-23 Thread Sebastian Werner
Another workaround is maybe to execute the alert inside a timeout. Sebastian dperez schrieb: > Hi, > > I've observed also this problem. > As a workaround, an alert can be emulated with a window. > > > Elie Dumas wrote: >> Hi all, >> >> >> This is a rather problematic bug, and yet it doesn't s

Re: [qooxdoo-devel] alert() makes buttons buggy with firefox

2006-10-23 Thread Dietrich Streifert
I've the same problem here with alert and confirm. I tried different workarounds like calling blur and setFocused(false) with no success: var myButton = new qx.ui.form.Button("Event"); myButton.addEventListener("execute", function(e){ this.blur(); this.setFocused(false); aler

Re: [qooxdoo-devel] alert() makes buttons buggy with firefox

2006-10-23 Thread dperez
Hi, I've observed also this problem. As a workaround, an alert can be emulated with a window. Elie Dumas wrote: > > Hi all, > > > This is a rather problematic bug, and yet it doesn't seem to have already > been discussed in the list or in bugzilla (apart from > http://www.nabble.com/Firefox%

[qooxdoo-devel] alert() makes buttons buggy with firefox

2006-10-23 Thread Elie Dumas
Hi all, This is a rather problematic bug, and yet it doesn't seem to have already been discussed in the list or in bugzilla (apart from http://www.nabble.com/Firefox%3A-Button-Click-AND-Focus-%28all-Browsers%29-tf1738961.html#a4770808 which may be similar) :When an eventlistener on a button calls a

Re: [qooxdoo-devel] Changing font size for accessibility

2006-10-23 Thread Hugh Gibson
Any comments on this, Sebastian? Hugh > *Subject:* Re: [qooxdoo-devel] Changing font size for accessibility > *From:* "Hugh Gibson" <[EMAIL PROTECTED]> > *To:* qooxdoo-devel@lists.sourceforge.net > *Date:* Thu, 19 Oct 2006 11:20 +0100 (BST) > > > Qooxdoo already has the concept of ColorObject, f

Re: [qooxdoo-devel] popupAtom : no setIcon() ?

2006-10-23 Thread Alex D.
No it isn't. It is just: popupAtom.getAtom().setIcon() Cheers, alex.d Hi all, A qx.ui.popup.PopupAtom takes an icon in parameter, but doesn't propose a setIcon() method. Ok, this is because the icon is actually set to the Atom contained in the popupAtom, but we then need to call

[qooxdoo-devel] popupAtom : no setIcon() ?

2006-10-23 Thread Elie Dumas
Hi all, A qx.ui.popup.PopupAtom takes an icon in parameter, but doesn't propose a setIcon() method. Ok, this is because the icon is actually set to the Atom contained in the popupAtom, but we then need to call myPopupAtom.getAtom().setIcon("...");to set an icon to the popupAtom.--> Isn't a popupAto

[qooxdoo-devel] Compiler switch again

2006-10-23 Thread Sebastian Werner
Hi! Just some minutes ago I've checked in a modification to switch to the new prettyprinter (in this case not used as a prettyprinter) as the default compiler. This should result in comparable code to the treecompiler. The pretty printer code was the result of a major rework of the existing tr

Re: [qooxdoo-devel] Qooxdoo and XTML documents

2006-10-23 Thread Sebastian Werner
[EMAIL PROTECTED] schrieb: > Hi Sebastian, >> sounds quite good. I hope you have found all comparsions of tag names. >> There are also things like "DIV", "INPUT", "TEXTAREA" inside the qooxdoo >> code I think. >> >> > Yes, I also found DIV, INPUT, TEXTAREA, IMG, STYLE, HEAD... and converted >

Re: [qooxdoo-devel] Tab order

2006-10-23 Thread dperez
Hi, It's easy to remove custom appearences. http://www.nabble.com/file/3800/focus.js focus.js Sebastian Werner wrote: > > it's nice as a real file. But there is so much other stuff in this test > case. Could you please try to create a small one. Which only shows the > problem. Remove all c

Re: [qooxdoo-devel] Qooxdoo and XTML documents

2006-10-23 Thread [EMAIL PROTECTED]
Hi Sebastian, > sounds quite good. I hope you have found all comparsions of tag names. > There are also things like "DIV", "INPUT", "TEXTAREA" inside the qooxdoo > code I think. > > Yes, I also found DIV, INPUT, TEXTAREA, IMG, STYLE, HEAD... and converted them. I already rebuilt and tested all

Re: [qooxdoo-devel] Tab order

2006-10-23 Thread Sebastian Werner
Hey David, it's nice as a real file. But there is so much other stuff in this test case. Could you please try to create a small one. Which only shows the problem. Remove all custom appearances, etc. Thank you. Cheers, Sebastian dperez schrieb: > Hi Sebastian, > > Here is the same code as p

Re: [qooxdoo-devel] Tab order

2006-10-23 Thread dperez
Hi Sebastian, Here is the same code as previous message attached as a file Sebastian Werner wrote: > > Never heard about such a problem. Could you please provide/modify a > small demonstration file (qooxdoo demo file) and attach it to your > response? Thanks. > http://www.nabble.com/file/37

Re: [qooxdoo-devel] Layout trouble

2006-10-23 Thread Alex D.
i do this with different background colors. Helps too. > Great. > > For problems like this it often helps to apply borders to the parent > layouts. Just to be sure there is nothing wrong on top the the > problematic widget. > > Sebastian > > > Alex D. schrieb: >> Hurrah! >> It works now! >>> Hi A

Re: [qooxdoo-devel] Layout trouble

2006-10-23 Thread Sebastian Werner
Great. For problems like this it often helps to apply borders to the parent layouts. Just to be sure there is nothing wrong on top the the problematic widget. Sebastian Alex D. schrieb: > Hurrah! > It works now! >> Hi Alex, >> >> I am sorry. I now see your problem. >> >> Please replace this:

Re: [qooxdoo-devel] .form.List: disabling the list

2006-10-23 Thread Sebastian Werner
Hi Elie, inheritance for properties is currently not implemented. You need to modify the enabled property for each list item, too. Ciao, Sebastian Elie Dumas schrieb: > Hi all, > > When a qx.ui.form.List is disabled, i am surprised to see that its items > don't appear as disabled: >

Re: [qooxdoo-devel] Tab order

2006-10-23 Thread Sebastian Werner
dperez schrieb: > Hi, > Hi David! > I'm checking the tab order of my form. > It works with some erratic behaviour: > > - Sometimes the focus goes from right to left for widgets in the same row Never heard about such a problem. Could you please provide/modify a small demonstration file (qooxdo

Re: [qooxdoo-devel] Layout trouble

2006-10-23 Thread Alex D.
Hurrah! It works now! > Hi Alex, > > I am sorry. I now see your problem. > > Please replace this: > w0.set({ width:"100%", height:"100%" }); > > with this: > w0.setHeight("1*"); > > height=100% means here, that the canvas layout gets the same height > than the outer verticalBoxLayout. This

Re: [qooxdoo-devel] window menubar

2006-10-23 Thread Sebastian Werner
This should definitely be possible. Please try to configure a width for the menubar e.g. "100%". Cheers, Sebastian jamescowan schrieb: > > Hi > > is it possible to attach a menubar to a window? > > This code fragement > > var wdw = new qx.ui.window.Window("Window"); > var menubar = new qx.u

Re: [qooxdoo-devel] Qooxdoo and XTML documents

2006-10-23 Thread Sebastian Werner
Hi Alessandro, sounds quite good. I hope you have found all comparsions of tag names. There are also things like "DIV", "INPUT", "TEXTAREA" inside the qooxdoo code I think. I you feel you have found all these cases I think this would be a good change. "document.write" is bad style. And this i

Re: [qooxdoo-devel] Layout trouble

2006-10-23 Thread Sebastian Werner
Hi Alex, I am sorry. I now see your problem. Please replace this: w0.set({ width:"100%", height:"100%" }); with this: w0.setHeight("1*"); height=100% means here, that the canvas layout gets the same height than the outer verticalBoxLayout. This is not what you want. You want that th

Re: [qooxdoo-devel] Setting Focus in a Form - Dialog

2006-10-23 Thread Alex D.
try to add "afterAppear" event and to focus the textfield in it. This should help. Cheers alex.d > Hello List, > > i just started a Project and I tried to use Widget.focus(), > .setFocused(true), .setEnableElementFocus(true), but nothings helps. The > Dialog comes up and I have to press Tab to ge

[qooxdoo-devel] Setting Focus in a Form - Dialog

2006-10-23 Thread Dirk Wellmann
Hello List, i just started a Project and I tried to use Widget.focus(), .setFocused(true), .setEnableElementFocus(true), but nothings helps. The Dialog comes up and I have to press Tab to get into the first Field. How do I position the Caret into my first Field? (Tabindex is set for every Field in

Re: [qooxdoo-devel] Layout trouble

2006-10-23 Thread Alex D.
> Without have followed the whole discussion: > > I think you must put the windows inside the container which is > available for the window as a maximum. The sizing always works > respecting the dimensions of the parent object. > > VerticalBoxLayout > - Menubar > - Toolbar > - Container (Canv

Re: [qooxdoo-devel] Layout trouble

2006-10-23 Thread Sebastian Werner
Without have followed the whole discussion: I think you must put the windows inside the container which is available for the window as a maximum. The sizing always works respecting the dimensions of the parent object. VerticalBoxLayout - Menubar - Toolbar - Container (CanvasLayout!) -

Re: [qooxdoo-devel] Layout trouble

2006-10-23 Thread Alex D.
with "resize" i meant maximize. Hi Jim, Thx for your answer. The fact it works for you gives me hope. I already have(or not??) the structure you are suggesting. What i have is the "entire-app" or main container. It's a VerticalBoxLayout. Menubar and Toolbar are added to the main container f

Re: [qooxdoo-devel] Layout trouble

2006-10-23 Thread Alex D.
Hi Jim, Thx for your answer. The fact it works for you gives me hope. I already have(or not??) the structure you are suggesting. What i have is the "entire-app" or main container. It's a VerticalBoxLayout. Menubar and Toolbar are added to the main container followed by the body container which

Re: [qooxdoo-devel] Table Events

2006-10-23 Thread Til Schneider
Mike wrote: > Looks like the SelectionModel for a Table fires a "selectionChanged" event. > This is a problem as qx.constant.Event.CHANGESELECTION actually evaluates to > "changeSelection" (it's missing the 'd'). Just a small incongruity that > someone might want to fix. Yes, you're right. This