WPILibC++  2019.2.1-2-gfdf298b
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
frc::BuiltInLayouts Class Reference

The types of layouts bundled with Shuffleboard. More...

#include <BuiltInLayouts.h>

Static Public Attributes

static const LayoutType kList
 Groups components in a vertical list. More...
 
static const LayoutType kGrid
 Groups components in an n x m grid. More...
 

Detailed Description

The types of layouts bundled with Shuffleboard.

ShuffleboardLayout myList = Shuffleboard::GetTab("My Tab")
.GetLayout(BuiltinLayouts::kList, "My List");

Member Data Documentation

const LayoutType frc::BuiltInLayouts::kGrid
static

Groups components in an n x m grid.

Grid layouts default to 3x3.
Custom properties:

NameTypeDefault ValueNotes
Number of columnsNumber3Must be in the range [1,15]
Number of rowsNumber3Must be in the range [1,15]
Label position String "BOTTOM" The position of component labels inside the grid. One of
["TOP", "LEFT", "BOTTOM", "RIGHT", "HIDDEN"
const LayoutType frc::BuiltInLayouts::kList
static

Groups components in a vertical list.

New widgets added to the layout will be placed at the bottom of the list.
Custom properties:

NameTypeDefault ValueNotes
Label positionString"BOTTOM" The position of component labels inside the grid. One of
["TOP", "LEFT", "BOTTOM", "RIGHT", "HIDDEN"

The documentation for this class was generated from the following file: