Grasshopper

algorithmic modeling for Rhino

UI Containers
UI Elements
UI Graphs + Charts
UI Main
UI Output

Adjust Element Positioning

Component Index > Human UI > UI Main > Adjust Element Positioning

Adjust the margins, sizing, and other positioning information of an element.
Absolute positioning can get a little wonky, use at your own risk.

Inputs

NameIDDescriptionType
Elements to adjustEThe UIElement you want to reposition.Goo
MarginMThe margin value. Input a single number to affect margins on all sides, or four values separated by commas to set Left, Top, Right, and Bottom individually.String
Absolute PositioningAbsSet to true to position relative to the upper left corner of the documentBoolean
WidthWOverride the element widthNumber
HeightHOverride the element heightNumber
Horizontal AlignmentHAHorizontal alignmentInteger
Vertical AlignmentVAVertical alignmentInteger

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service