Vuido
  • About Vuido
  • Introduction
  • Installation
    • Manual Configuration
    • Production Builds
  • Usage
    • Window Template
    • Script Section
    • Interpolations
    • Computed Properties
    • Conditionals and Loops
    • Handling User Input
    • Managing Windows
    • Displaying Dialogs
    • Custom Components
    • Using libui Classes
    • Common Attributes
  • Packaging
  • Built-in Components
    • Window
    • Containers
      • Box
      • Form
      • Group
      • Tab
    • Widgets
      • Area
        • AreaGroup
        • AreaPath
        • AreaText
      • Button
      • Checkbox
      • ColorButton
      • Combobox
      • DatePicker
      • DateTimePicker
      • DropdownList
      • FontButton
      • ProgressBar
      • RadioButtons
      • Separator
      • Slider
      • Spinbox
      • Text
      • TextArea
      • TextInput
      • TimePicker
Powered by GitBook
On this page
  • Attributes
  • horizontal
  • padded
  • Child Attributes
  • stretchy
  • Example
  1. Built-in Components
  2. Containers

Box

A container which arranges all children vertically or horizontally.

Attributes

horizontal

type: Boolean

Whether the box arranges its children vertically or horizontally.

padded

type: Boolean

Whether the box adds some padding between its children.

Child Attributes

The following attributes can be added to child components to change the way they are handled by the box container.

stretchy

type: Boolean

Whether the child stretches to fill available space.

Example

<Box horizontal padded>
  <Button v-on:click="ok">OK</Button>
  <Button v-on:click="cancel">Cancel</Button>
</Box>
PreviousContainersNextForm

Last updated 6 years ago