class fwt::ScrollPane

sys::Obj
  fwt::Widget
    fwt::Pane
      fwt::ContentPane
        fwt::ScrollPane

@Js
@Serializable

Source

ScrollPane displays a scrollbars to scroll its content child. If the ScrollPane is smaller than the preferred size of the content child, then scrollbars are shown. If the ScrollPane is bigger than the preferred area, the content child will fill the available space.

border

const Bool border := true

Source

Draw a border around the widget. Default is true. This field cannot be changed once the widget is constructed.

hbar

@Transient
ScrollBar hbar := ... { private set }

Source

Horizontal scroll bar.

make

new make(|This|? f := null)

Source

Default constructor.

onLayout

virtual override Void onLayout()

Source

vbar

@Transient
ScrollBar vbar := ... { private set }

Source

Vertical scroll bar.