Files
EscapistsReintroduced/ui/admin_menu/components/ItemRow.layout.in
T
jakub d5464f7438
continuous-integration/drone/push Build is passing
Reorganize mission menu and separate design from logic
2026-10-17 18:27:31 +02:00

10 lines
2.0 KiB
Plaintext

SizeLayoutWidgetClass { Name "ItemRow" WidthOverride 900 HeightOverride 180 Slot LayoutSlot { HorizontalAlign 3 Padding 0 0 0 16 } {
FrameWidgetClass { Name "ContentRowBody" Slot AlignableSlot { HorizontalAlign 3 VerticalAlign 3 } {
TextWidgetClass { Name "PackLabel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 0 OffsetTop 0 SizeX 718 OffsetRight -718 SizeY 32 OffsetBottom -32 } Color {{COLOR_TEXT}} Text "Content pack" "Font Size" {{SIZE_ROW_TITLE}} "Min Font Size" {{SIZE_ROW_TITLE}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "SelectionState" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 734 OffsetLeft 734 PositionY 0 OffsetTop 0 SizeX 160 OffsetRight -894 SizeY 32 OffsetBottom -32 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Waiting..." m_fDisabledOpacity 1 } } }
TextWidgetClass { Name "PackState" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 36 OffsetTop 36 SizeX 900 OffsetRight -900 SizeY 66 OffsetBottom -102 } Color {{COLOR_TEXT}} Text "Waiting for server settings..." "Font Size" {{SIZE_BODY}} "Min Font Size" {{SIZE_BODY}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Enable" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 112 OffsetTop 112 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -154 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Enable" } } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Disable" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 196 OffsetLeft 196 PositionY 112 OffsetTop 112 SizeX 180 OffsetRight -376 SizeY 42 OffsetBottom -154 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Disable" } } }
} }
} }