Guilherme,

Excellent!  I wasn't sure if the qx.ui.root.* was mainly used
internally, but it appears it is.  My application is (of course)
already an extension of qx.application.Standalone so all I needed to
do was realize I should be adding my main widget to this.getRoot().

The only missing part is how to tell my base widget (an extension of
qx.ui.splitpane.Pane) to take up the entire viewport.  Currently it is
crushed into the top left of the available area unless I manually
specify its size after instantiation.  Because of the peculiarities of
Chrome plugins, the popup box I have is rendered to the size of the
contents I specify in my Qooxdoo HTML skeleton  (which looks like
this: <body><div style="height: 600px; width: 500px"></div></body>)
and will not adjust afterwards but instead create scrollbars.  I
realize I can use qx.bom.Viewport.getWidth()/getHeight(), but I want
to know if that is considered the proper way to set a root widget to
that size or if there is a different preferred method.

--Greg

On Mon, Jan 3, 2011 at 11:42 AM, Guilherme Aiolfi <[email protected]> wrote:
> Hi,
> qx.application.Standalone is what you are looking for, for the docs. It uses
> the qx.ui.root.Application you talked about.
> It differs from the qx.application.Inline because it uses the whole
> available space to render the app. No matter what your html is. It will
> render the content above that.
> In the other hand, qx.application.Inline puts the app inside an square (DOM
> element) more likely how it would be if you created a java applet.
> It is easier to understand looking at the demos:
> http://demo.qooxdoo.org/devel/demobrowser/#root~Application.html
> and
> http://demo.qooxdoo.org/devel/demobrowser/#root~Inline.html
> See how in the second demo the app (the container with colorful squares)
> represents just one part of the content. Surrounded by content defined in
> your html file.
> Sorry if that's not enough, my English is very limited.
> On Mon, Jan 3, 2011 at 3:02 PM, Greg Hellings <[email protected]>
> wrote:
>>
>> I am attempting to create an application similar to the feedreader
>> demo application in that it consumes the entire browser viewport
>> instead of rendering in a movable window, but the documentation
>> descriptions for the various instances within qx.ui.root.* are
>> slightly confusing to me.  Can someone provide a more verbose
>> description or point me to a discussion comparing the three instances
>> of it?  Am I even on the right track with looking in the ui.root
>> package - if not, can you point me in the right direction to where I
>> would locate the root element for my application (instead of
>> qx.ui.window)?
>>
>> Thanks,
>> Greg
>>
>>
>> ------------------------------------------------------------------------------
>> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
>> to consolidate database storage, standardize their database environment,
>> and,
>> should the need arise, upgrade to a full multi-node Oracle RAC database
>> without downtime or disruption
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to