Scroll
======

`Scroll` is a container, which allows vertical and horizontal scrolling if the content is larger than the container.

Preview Image
-------------

![widget/scroll.jpg](scroll.jpg)

Features
--------

-   Themeable scroll bars
-   Scroll bar visibility can be set independently for the X- and Y-axis. Possible values are `auto` (default), `on` and `off`

Description
-----------

This widget can be used if the container's content is larger than the container itself. In this case vertical or horizontal scroll bars are displayed as needed.

Note that this class can only have one child widget and no configurable layout. The layout is fixed and cannot be changed.

Demos
-----

Here are some links that demonstrate the usage of the widget:

-   [A simple scroll container demo](apps://demobrowser/#ui~ScrollContainer.html)
-   [After resize the content matches the size of the scroll container.](apps://demobrowser/#test~ScrollContainer_ResizeMatch.html)
-   [Content and container size can be changed. Display of scroll bars configurable.](apps://demobrowser/#test~ScrollContainer_EdgeCaseWidth.html)
-   [Content and container size can be changed. Display of scroll bars configurable.](apps://demobrowser/#test~ScrollContainer_EdgeCaseHeight.html)

API
---

Here is a link to the API of the Widget:
[qx.ui.container.Scroll](apps://apiviewer/index.html#qx.ui.container.Scroll)
