Re: [qooxdoo-devel] Width

2010-02-24 Thread Jim Hunter
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

Re: [qooxdoo-devel] Width

2010-02-24 Thread Stefan Meyer
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

Re: [qooxdoo-devel] Hide Table cell

2010-02-24 Thread Fritz Zaucker
You can hide the column header menu. Cheers, Fritz On Wed, 24 Feb 2010, smisonl...@googlemail.com wrote: > Hello, > > how ca i hide a tablecolumn inkl in the right popupmenu? > > i try this > >tableColumnModel2.setColumnVisible(5, false); > > > or set the width to 0 > > but alwa

[qooxdoo-devel] using timers / custom property events

2010-02-24 Thread Daniel Hirtzbruch
Hey, after digging deeper into qooxdoo for some months I now got a confusing problem when using custom property events. I think it's a real trivial thing but somehow I can't find my mistake... That's my class: [code] qx.Class.define("fbpm.ui.app.selection.ResultMetaColumns", { extend : qx.ui.

[qooxdoo-devel] Hide Table cell

2010-02-24 Thread smisonl...@googlemail.com
Hello, how ca i hide a tablecolumn inkl in the right popupmenu? i try this tableColumnModel2.setColumnVisible(5, false); or set the width to 0 but always i can activate it by set it in the column header menulist --

Re: [qooxdoo-devel] Width

2010-02-24 Thread Jim Hunter
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

[qooxdoo-devel] Width

2010-02-24 Thread smisonl...@googlemail.com
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

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Qoodary Doo
Hello List, after testing a lot I can say; now it works fine But I cannot say what was the problem :-) thanks a lot regards Hansjoerg 2010/2/24 Qoodary Doo > sorry I forgot to tell that I am using Qooxdoo 1.0-beta1 > > regards > Hansjoerg > > 2010/2/24 Qoodary Doo > > Hi Daniel, >> >> This i

Re: [qooxdoo-devel] hide table's header row?

2010-02-24 Thread Dave Baggett
Yes, your modification is a definite improvement. I guess I've never tested the code in production build mode. The hiding of private __ attributes/methods is indeed a feature of that build mode. Dave -- View this message in context: http://n2.nabble.com/hide-table-s-header-row-tp4618328p462767

Re: [qooxdoo-devel] hide table's header row?

2010-02-24 Thread skar
Stefan Volbers wrote: Hi Skar, I wonder if your table instantiation is legal; you are providing three parameters to the constructor; tableModel is allright, but what about resizable_tcm? IMHO the api description allows two parameters (max.), Thanks. I made a mistake there. I added the cust

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Qoodary Doo
sorry I forgot to tell that I am using Qooxdoo 1.0-beta1 regards Hansjoerg 2010/2/24 Qoodary Doo > Hi Daniel, > > This is the some code of my application.js > > In the moment there is only a menu (which is nearly same as from > demobrowser) and the Welcome Label > > Strange thing is that only t

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Qoodary Doo
Hi Daniel, This is the some code of my application.js In the moment there is only a menu (which is nearly same as from demobrowser) and the Welcome Label Strange thing is that only the menu "Search" is translated from German to English. All other stuff remains in German. ==>var searchMenu = new

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Daniel Wagner
Hi again, I'm fresh out of ideas :( Could you please post a small code snippet so we can reproduce the problem? BTW, which version of qooxdoo are you using? Regards, Daniel Qoodary Doo schrieb: > Hi Stefan, > > thanks for your help. > > Yes, first step was adding the locales in config.json >

Re: [qooxdoo-devel] [Bug] Error: this[P[O]] is not a function

2010-02-24 Thread Daniel Wagner
Hi Philipp, Mustafa is right, you're trying to set a property that doesn't exist, namely "content". You can use the "value" property instead if you don't want to pass the string into the constructor. But you should definitely get an error in the source version. If you don't, you should first m

[qooxdoo-devel] Some errors and a featurerequest

2010-02-24 Thread Stefan Meyer
in many examples in the api doku are errors like this Some brackets missing http://demo.qooxdoo.org/1.0.x/apiviewer/#qx.ui.container.Scroll What is rot? http://demo.qooxdoo.org/1.0.x/apiviewer/#qx.ui.container.Resizer and many more. And why this examples dont have a direct link to teh playgro

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Qoodary Doo
Hi Stefan, thanks for your help. Yes, first step was adding the locales in config.json "LOCALES" : [ "en", "fr", "de" ], Then I prepared all strings with this.tr("myEnglishString") The I did generate.py /translate After that I edit the de.po file and translate all strings. After that I did

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Stefan Volbers
Hi Hansjoerg, I must confess I haven't really tried the localization, but one thing comes to my mind: Did you add the 'en' locale in your application's config.json before generating? I believe this is mandatory before you can select another locale. HTH, greetings Stefan On 24.02.2010 16:04,

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Qoodary Doo
Hi Daniel, thanks a lot for your help. Yes I did this several times. By the way: If I look into Nable I cannot see your reply and post. Also If I refresh the browser. But I can see it in may email. best regards Hansjoerg 2010/2/24 Daniel Wagner > Hi Hansjoerg, > > did you run generate.py sour

Re: [qooxdoo-devel] [Bug] Error: this[P[O]] is not a function

2010-02-24 Thread Mustafa Sak
Hi Philipp, i had the same problem. I think you are setting a non existing property for some object. Like: .set{nonexisting : null}; If you dont use the debug code like in the "hello world" sample, you dont see any error in source version, but build gets a fatal error. Maybee its helpfull.

[qooxdoo-devel] [Bug] Error: this[P[O]] is not a function

2010-02-24 Thread Philipp Gruber
Hello everyone, I just encountered a little bug, that took me 3 days to find :( Basically, this: > doc.add(new qx.ui.basic.Label().set({ >content: "bla bla bla", >rich: true > }), {left: 100, top: 50}); works in source mode, but not in build mode. In build mode I get >

Re: [qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Daniel Wagner
Hi Hansjoerg, did you run generate.py source again after adding the translation for "Welcome to the first App" to the .po file? Regards, Daniel Qoodary schrieb: > Hi list, > I have a little menu and just a label for testing. > All strings are made with tr(). > After that, I did generate.py /tra

Re: [qooxdoo-devel] TabView and padding/margin

2010-02-24 Thread Daniel Wagner
Hi Stefan, you can define your own appearance theme to modify these settings. Check out the documentation for details: http://qooxdoo.org/documentation/1.0/ui_appearance Specifically, you want to redefine the appearances for the keys "tabview" and "tabview-page/button". Regards, Daniel Stefa

[qooxdoo-devel] Translation does not work correct

2010-02-24 Thread Qoodary
Hi list, I have a little menu and just a label for testing. All strings are made with tr(). After that, I did generate.py /translate. The po files are created and I have translated the de.po file. After refresh the page all is in German language now. But if I try to change the language to English

Re: [qooxdoo-devel] Dragging and moving the source object

2010-02-24 Thread Anaël Ollier
*Bump* Sorry but I'm still stuck on my "no dragover/dragleave" issue. I cannot find a good way to implement this without creating a hack or ugly workaround. If someone has another idea, please let me know! Cheers -- Anaël anael.oll...@eyeos.org The eyeos Project | www.eyeos.org | Web Desktop & Cl

Re: [qooxdoo-devel] Minimize WIndows

2010-02-24 Thread Daniel Wagner
Hi Stefan, yes, that's correct. qooxdoo currently doesn't have a built-in minimize behavior for windows. If you need something like that, you'll have to implement it yourself. Basically, you would have to subclass qx.ui.window.Window and overwrite the "minimize" method. Then of course you need

[qooxdoo-devel] Minimize WIndows

2010-02-24 Thread Stefan Meyer
In this example http://demo.qooxdoo.org/current/demobrowser/#widget~Window.html and in my own teste, i can click on the above minimized Button but the window isnt minimized. the window is disaper7closed? is thats right ? How can i disable this and set the window to minimize to the bottom

[qooxdoo-devel] TabView and padding/margin

2010-02-24 Thread Stefan Meyer
i try to add padding and margin = 0 to a tabview and to the pages inside butthe pages inside makes alwys a very big padding. Is their any option to disable that? -- Download Intel® Parallel Studio Eval Try the new s

Re: [qooxdoo-devel] hide table's header row?

2010-02-24 Thread Stefan Volbers
Hi Skar, I wonder if your table instantiation is legal; you are providing three parameters to the constructor; tableModel is allright, but what about resizable_tcm? IMHO the api description allows two parameters (max.), second of which would be a map like you provided with the tablePaneHeader

Re: [qooxdoo-devel] hide table's header row?

2010-02-24 Thread skar
Stefan Volbers wrote: Yes, that's the error Dave describes. By writing the pane header class, you can get rid of it. Hint: such looks my constructor: qx.Class.define("myNameSpace.paneHeader", { extend : qx.ui.table.pane.Header, construct : function(paneScroller) { this.base(arg

Re: [qooxdoo-devel] Themes standardization

2010-02-24 Thread Alexander Steitz
Hi Petr, On Monday February 22 2010 23:07:01 Petr Kobalíček wrote: > > Right. There is documentation about the several themes, but not for the > > specific implementation. On the other hand: the themes document > > themselves in a way. > > If you need to create an own theme, you can either take a

Re: [qooxdoo-devel] hide table's header row?

2010-02-24 Thread Stefan Volbers
Yes, that's the error Dave describes. By writing the pane header class, you can get rid of it. Hint: such looks my constructor: qx.Class.define("myNameSpace.paneHeader", { extend : qx.ui.table.pane.Header, construct : function(paneScroller) { this.base(arguments, paneScroller);

Re: [qooxdoo-devel] hide table's header row?

2010-02-24 Thread skar
I had the same issue just a few days ago, see the thread here: http://www.nabble.com/Hide-header-row-in-TreeVirtual-tp23104983p23104983.html (the most important message is from Dave, written 11/24/2009). Thanks for the link. It indeed fixed my problem in a clean way. It seems there are so

Re: [qooxdoo-devel] Add the change events for minimum and maximum properties for the Slider

2010-02-24 Thread MartinWittemann
I have already fixed the issue. Could you please check if its working for you and mark the bug as verified? -- View this message in context: http://n2.nabble.com/Add-the-change-events-for-minimum-and-maximum-properties-for-the-Slider-tp4623326p4624368.html Sent from the qooxdoo mailing list arch

Re: [qooxdoo-devel] Add the change events for minimum and maximum properties for the Slider

2010-02-24 Thread MartinWittemann
Hi Jean-Noel, Doesn't sound like a big deal. I opened up a bug report for it: http://bugzilla.qooxdoo.org/show_bug.cgi?id=3469 Regards, Martin -- View this message in context: http://n2.nabble.com/Add-the-change-events-for-minimum-and-maximum-properties-for-the-Slider-tp4623326p4624314.html Sent

Re: [qooxdoo-devel] hide table's header row?

2010-02-24 Thread skar
Hi Stefan, > I had the same issue just a few days ago, see the thread here: > http://www.nabble.com/Hide-header-row-in-TreeVirtual-tp23104983p23104983.html > (the most important message is from Dave, written 11/24/2009). > Thanks for the link. It indeed fixed my problem in a clean way. cheers,