module Line::Message::Builder::Flex::Size::Flex
Provides the flex option, which determines the ratio of space a component occupies within its parent Box relative to its siblings. A higher flex value means the component will take up more space. A value of 0 means the component does not flex (its size is fixed).
Public Instance Methods
Source
# File lib/line/message/builder/flex/size.rb, line 28
Sets or gets the flex factor of the component.
- value
-
The flex factor.
0means no flex. Positive integers determine the ratio.