Files
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

11 lines
2.2 KiB
Plaintext

SizeLayoutWidgetClass { Name "ItemWeightRow" WidthOverride 900 HeightOverride 154 Slot LayoutSlot { HorizontalAlign 3 Padding 0 0 0 12 } {
FrameWidgetClass { Name "ItemWeightBody" Slot AlignableSlot { HorizontalAlign 3 VerticalAlign 3 } {
TextWidgetClass { Name "WeightLabel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 0 OffsetTop 0 SizeX 900 OffsetRight -900 SizeY 28 OffsetBottom -28 } Color {{COLOR_TEXT}} Text "Item" "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
TextWidgetClass { Name "WeightState" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 34 OffsetTop 34 SizeX 900 OffsetRight -900 SizeY 46 OffsetBottom -80 } Color {{COLOR_TEXT}} Text "Waiting for server..." "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
TextWidgetClass { Name "WeightValueLabel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 96 OffsetTop 96 SizeX 280 OffsetRight -280 SizeY 36 OffsetBottom -132 } Color {{COLOR_TEXT}} Text "Item weight (0-100)" "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "WeightValue" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 300 OffsetLeft 300 PositionY 90 OffsetTop 90 SizeX 110 OffsetRight -410 SizeY 42 OffsetBottom -132 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "WeightApply" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 430 OffsetLeft 430 PositionY 90 OffsetTop 90 SizeX 160 OffsetRight -590 SizeY 42 OffsetBottom -132 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "WeightNormal" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 610 OffsetLeft 610 PositionY 90 OffsetTop 90 SizeX 200 OffsetRight -810 SizeY 42 OffsetBottom -132 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Normal (1)" } } }
} }
} }