StyleCode Property: size

🚧 Work in progress — This documents the redesigned dashboard layout system, which is still under active development and subject to change. It is not compatible with the older v1 dashboard tile system.

size

Controls the size of the affected tile or entry. 0 is the neutral size and depending of the context various positive and negative values are supported

Applies to Type Default
button
label
scalar
tabstrip
Number 0

Examples

// Example: button
show button "My Button" { 1..2, 1..2 ; size: 1 }

// Example: label
show label "My Label" { 1..2, 1..2 ; size: 1 }

// Example: scalar
myValue = 123

show scalar "My Scalar" { 1..2, 1..2 ; size: 1 } with
  myValue

// Example: tabstrip
export t = show tabs "My Tabs" { .., ..2 } with
  red as "Red"
  blue as "Blue"

show tabstrip "My Tabstrip" { 1..3, 1..2 in t ; size: 1 } with t

User Contributed Notes
0 notes + add a note