Sorry Matt, but I had not seen your e-mail before.
I did that you said and it works fine. The firebug wasn't showing this
message for me.
Thank you very much for the help.
Best regards.
Pedro.
On Wed, Oct 14, 2009 at 11:14 AM, Matthew Gregory <
matthew+qoox...@nogsnet.com <matthew%2bqoox...@nogsnet.com>> wrote:
> Hi Pedro,
> As I said in my other mail this line should be giving you an error in
> your source application:
>
> win.setLayout(new qx.ui.layout.Grid(10,10).set({row: 1, column: 2}));
>
> You should see in firebug (or the log that you see when you hit F7) this:
>
> qx.ui.layout.Grid[xx]: No such property: row
>
> I am not sure what you are trying to do with this line but if you change
> it this is should work:
>
> win.setLayout(new qx.ui.layout.Grid(10,10)));
>
> Hope That Helps,
> Matt
>
> Pedro Vieira wrote:
> > Hello Jonathan.
> >
> > I made a short example of my code which reproduces the same problem.
> > I'm using Win XP and I don't get any warning in the source version.
> >
> >
> > Best regards,
> > Pedro.
> >
> >
> > Source code:
> > qx.Class.define("projetoantenas.Application",
> > {
> > extend : qx.application.Standalone,
> >
> > members :
> > {
> > main : function()
> > {
> > this.base(arguments);
> >
> > if (qx.core.Variant.isSet("qx.debug", "on"))
> > {
> > qx.log.appender.Native;
> > qx.log.appender.Console;
> > }
> >
> > var button_ar = new
> > qx.ui.form.Button("TesteWin").set({alignX:"center"});
> >
> > var doc = this.getRoot();
> >
> > doc.add(button_ar, {left: screen.width/2, top: 200});
> >
> > button_ar.addListener("execute", function(e) {
> > var win_ar = this.CreateWindowAR();
> > doc.add(win_ar, {left: 5, top: 0});
> > win_ar.open();
> > },this);
> > },
> >
> > CreateWindowAR : function()
> > {
> > var win = new qx.ui.window.Window("Teste Win");
> > win.setLayout(new qx.ui.layout.Grid(10,10).set({row: 1,
> > column: 2}));
> > win.setWidth(1250);
> > win.setHeight(780);
> > win.getLayout().setColumnWidth(0,340);
> > win.getLayout().setColumnWidth(1,900);
> > win.getLayout().setRowHeight(0,770);
> > win.setAllowMaximize(true);
> >
> > var boxOpcoes = new qx.ui.container.Composite;
> > boxOpcoes.setLayout(new qx.ui.layout.VBox(10));
> > win.add(boxOpcoes, {row: 0, column: 0});
> >
> > var boxCobertura = new
> > qx.ui.groupbox.GroupBox("Test").set({maxWidth: 350, maxHeight: 270});
> > boxCobertura.setLayout(new qx.ui.layout.VBox(0));
> > boxOpcoes.add(boxCobertura, {flex:1});
> >
> > var cobertura = new qx.ui.container.Composite;
> > cobertura.setLayout(new qx.ui.layout.Grid(10,10).set({row:
> > 5, column: 2}));
> > boxCobertura.add(cobertura, {flex:1});
> >
> > cobertura.add(new qx.ui.basic.Label("Latitude").set({alignX:
> > "center", alignY: "middle", font: new qx.bom.Font(10, ["Verdana",
> > "sans-serif"])}), {row: 0, column: 0});
> > cobertura.add(new
> > qx.ui.basic.Label("Longitude").set({alignX: "center", alignY: "middle",
> > font: new qx.bom.Font(10, ["Verdana", "sans-serif"])}), {row: 1, column:
> > 0});
> > cobertura.add(new
> > qx.ui.basic.Label("Direction").set({alignX: "center", alignY: "middle",
> > font: new qx.bom.Font(10, ["Verdana", "sans-serif"])}), {row: 2, column:
> > 0});
> > cobertura.add(new qx.ui.basic.Label("Angle").set({alignX:
> > "center", alignY: "middle", font: new qx.bom.Font(10, ["Verdana",
> > "sans-serif"])}), {row: 3, column: 0});
> > cobertura.add(new qx.ui.basic.Label("Distance").set({alignX:
> > "center", alignY: "middle", font: new qx.bom.Font(10, ["Verdana",
> > "sans-serif"])}), {row: 4, column: 0});
> >
> > var pt_lat = new qx.ui.form.TextField().set({width:100,
> > alignX: "center"});
> > var pt_long = new qx.ui.form.TextField().set({width:100,
> > alignX: "center"});
> > var angle = new qx.ui.form.TextField().set({width:100,
> > alignX: "center"});
> > var direction = new qx.ui.form.TextField().set({width:100,
> > alignX: "center"});
> > var distance = new qx.ui.form.TextField().set({width:100,
> > alignX: "center"});
> > cobertura.add(pt_lat, {row: 0, column: 1});
> > cobertura.add(pt_long, {row: 1, column: 1});
> > cobertura.add(angle, {row: 2, column: 1});
> > cobertura.add(direction, {row: 3, column: 1});
> > cobertura.add(distance, {row: 4, column: 1});
> >
> > var boxCobBotoes = new qx.ui.container.Composite();
> > boxCobBotoes.setLayout(new
> > qx.ui.layout.HBox(10).set({alignX: "center"}));
> > boxCobBotoes.setHeight(50);
> > boxCobBotoes.setAlignX("center");
> > boxCobertura.add(boxCobBotoes);
> >
> > var bt_add_point = new qx.ui.form.Button("Add
> > point").set({height: 30, allowGrowX: false, allowGrowY: false, alignX:
> > "center", alignY: "middle"});
> > boxCobBotoes.add(bt_add_point, {flex:1});
> >
> > var bt_remove_point = new qx.ui.form.ToggleButton("Remove
> > point").set({height: 30, allowGrowX: false, allowGrowY: false, alignX:
> > "center", alignY: "middle"});
> > boxCobBotoes.add(bt_remove_point, {flex:1});
> >
> > return win;
> > }
> > }
> > });
> >
> >
> > On Wed, Oct 14, 2009 at 3:32 AM, Jonathan Weiß <jonathan.we...@1und1.de
> > <mailto:jonathan.we...@1und1.de>> wrote:
> >
> >
> > Hello pesvieira!
> >
> >
> > I just created a new application and was able to run the build
> > version both
> > with Chrome 4.0.221.8 and FireFox 3.5.3 for OS X without any
> problems.
> >
> > It is hard to debug with only the optimized (build) code and
> stacktrace.
> > Could you post your source code so that I can reproduce your problem?
> >
> > Do you get any warnings when running the source version?
> >
> > Kind regards,
> > Jonathan
> >
> > -----
> > Jonathan Weiß
> > Framework Engineer
> >
> > http://mysterycity.de/blog Blog -
> > http://www.linkedin.com/in/jonathanrass
> > LinkedIn - http://www.xing.com/profile/Jonathan_Weiss5 XING
> > --
> > View this message in context:
> >
> http://n2.nabble.com/Running-as-build-doesn-t-work-tp3819010p3820923.html
> > Sent from the qooxdoo mailing list archive at Nabble.com.
> >
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart
> your
> > developing skills, take BlackBerry mobile applications to market and
> > stay
> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > http://p.sf.net/sfu/devconference
> > _______________________________________________
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > <mailto:qooxdoo-devel@lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >
> >
> >
> >
> > --
> > http://blog.censanet.com.br
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > http://p.sf.net/sfu/devconference
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
--
http://blog.censanet.com.br
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel