Uses of Class
net.risingworld.api.ui.style.StyleEnum
Packages that use StyleEnum
-
Uses of StyleEnum in net.risingworld.api.ui.style
Fields in net.risingworld.api.ui.style declared as StyleEnumModifier and TypeFieldDescriptionStyle.alignContent
Determines the alignment of the content on the cross axis if they spawn over multiple linesStyle.alignItems
Determines the alignment of the children on the cross axisStyle.alignSelf
Similar toalignItems
, but only for this specific elementStyle.backgroundImageScaleMode
If an image is used, this determines how it's scaled inside the element boxfinal StyleEnum<DisplayStyle>
Style.display
Changes the visibility of the element, but also affects the layout.final StyleEnum<FlexDirection>
Style.flexDirection
Determines the main axis for the children layout in this containerStyle.flexWrap
Determines placement of children over multiple lines if there is not enough space in this containerStyle.font
Sets the font (for texts / labels)Style.fontStyleAndWeight
Sets the font style and weight (normal, bold, italic) (for text / labels)Style.justifyContent
Determines justification of the children on the main axis inside this containerStyle.overflow
Determines how a container behaves if its content overflows its own boxfinal StyleEnum<OverflowClipBox>
Style.overflowClipBox
Determines which box the element content is clipped againstStyle.position
Determines if this element should have a relative (default) or absolute positionfinal StyleEnum<TextAnchor>
Style.textAlign
Sets the vertical and horizontal text alignment (for text / labels)final StyleEnum<Visibility>
Style.visibility
Changes the visibility of the element without affecting the layoutfinal StyleEnum<WhiteSpace>
Style.whiteSpace
Determines word wrap over multiple lines if there is not enough space to display the text