Main»Layouts

Layouts

  • Box
    • Horizontal and vertical widget stacking based on their bounding rectangles
    • Inspired by GTK
  • Bin ?
    • Used for holding only one child widget which is expanded to the parent's size
  • Layered ?
    • Slightly like Bin, but doesn't fill by default
    • Multiple child widgets, one drawn over another
    • Last listed -> topmost
  • Free ?
    • Child position may be changed by the user by modifying parentOffset
    • Parent's size calculated as the minimal bounding box of all children
  • Ghost ?
    • Child position may be changed by the user by modifying parentOffset
    • Parent's size ignores child sizes