DervaFX Wiki

DervaScrollPanel

Layout

Back to Components

DervaScrollPanel provides a Derma-style scrollable container for stacked content such as inspector sections, long settings lists, and category groups.

Current Methods

  • add(DervaElement<?> child) : DervaScrollPanel
  • remove(DervaElement<?> child) : DervaScrollPanel
  • clear() : DervaScrollPanel
  • padding(Insets padding) : DervaScrollPanel
  • padding(double value) : DervaScrollPanel
  • spacing(double value) : DervaScrollPanel
  • align(Pos pos) : DervaScrollPanel

Inherited DervaElement Helpers

  • position(double x, double y)
  • size(double width, double height)
  • minSize(double width, double height)
  • maxSize(double width, double height)
  • padding(Insets insets)
  • padding(double value)
  • spacing(double value)
  • align(Pos pos)
  • fillWidth()
  • fillHeight()
  • text(String value)
  • visible(boolean value)
  • enabled(boolean value)
  • cssClass(String className)
  • style(String inlineStyle)
  • anchorFill()

Notes

  • Use add(...) to append wrapped content into the internal vertical stack.
  • This is one of the main missing Derma/VGUI primitives for real tool UIs.