This is not working.

qx.Class.define("kiosk_portal.TabGroupTask",
{
  extend : qx.ui.tabview.Page,
  construct : function()
    {
      this.base(arguments, 'GROUP-TASK');
      this.setLayout(new qx.ui.layout.Canvas());
      this.__Scroller = new qx.ui.container.Scroll();
      this.__groupTasksWidget = new kiosk_portal.WidgetGroupTask();
      this.__Scroller.add(this.__groupTasksWidget);
      this.add(this.__Scroller, {edge:0})

      this.setShowCloseButton(true);
    }
});

The WidgetGroupTask is :

qx.Class.define("kiosk_portal.WidgetGroupTask",
{
  extend : qx.ui.container.Composite,
  construct : function()
    {
      this.base(arguments);
      var __layout = new qx.ui.layout.VBox().set({Spacing: 4});
      this.setLayout(__layout);

....

The WidgetGroupTask has labels, form, and 3 tables on it.

When I open the app, it displays fine.
When I resize the browser small enough to hide a portion of the
tables, I expect the Scroll bars to show up.  They don't.
Instead, the browser (Chromium and Firefox) becomes unresponsive.



On Wed, Apr 11, 2012 at 3:26 AM, thron7 <[email protected]> wrote:
> Use e.g. a Canvas layout for the tab page, and specify 'edge' when
> adding the scroll container to it, e.g.
>
>   tab_page.setLayout(new qx.ui.layout.Canvas());
>   tab_page.add(myScrollContainer, {edge:0})
>
> T.
>
> On 04/11/2012 12:09 AM, Scott Chapman wrote:
>> I want to put a Scroll container in a Tab and have it take up 100% of
>> the height and width of the Tab container regardless of the size of
>> its contents.
>>
>> I can't figure out how to do this.  The Scroll starts out a fixed
>> height and width, if I specify one or not and does not take up the
>> entire Tab container's space.
>> I'd like to to be there, invisible, unless the Tab container shrinks
>> too small for the Scroll's contents or the Scroll's contents enlarge
>> too much for the Tab container's space.
>>
>> Can this be done?
>>
>> Thanks!
>> Scott
>>
>> ------------------------------------------------------------------------------
>> Better than sec? Nothing is better than sec when it comes to
>> monitoring Big Data applications. Try Boundary one-second
>> resolution app monitoring today. Free.
>> http://p.sf.net/sfu/Boundary-dev2dev
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to