Reformat the construction menu to become less stretchy (#3538)

This commit is contained in:
ShadowCommander
2021-03-07 14:09:41 -08:00
committed by GitHub
parent 76f45664d7
commit 72a3160671

View File

@@ -1,23 +1,26 @@
<SS14Window xmlns="https://spacestation14.io"> <SS14Window xmlns="https://spacestation14.io">
<HBoxContainer HorizontalExpand="True"> <HBoxContainer HorizontalExpand="True">
<VBoxContainer HorizontalExpand="True" SizeFlagsStretchRatio="0.45"> <VBoxContainer HorizontalExpand="True" SizeFlagsStretchRatio="0.4">
<HBoxContainer HorizontalExpand="True" VerticalExpand="True" SizeFlagsStretchRatio="0.1"> <HBoxContainer HorizontalExpand="True">
<LineEdit Name="SearchBar" PlaceHolder="Search" HorizontalExpand="True" SizeFlagsStretchRatio="0.6"/> <LineEdit Name="SearchBar" PlaceHolder="Search" HorizontalExpand="True"/>
<OptionButton Name="Category" HorizontalExpand="True" SizeFlagsStretchRatio="0.4"/> <OptionButton Name="Category" MinSize="130 0"/>
</HBoxContainer> </HBoxContainer>
<ItemList Name="RecipesList" SelectMode="Single" VerticalExpand="True" SizeFlagsStretchRatio="0.9"/> <ItemList Name="RecipesList" SelectMode="Single" VerticalExpand="True"/>
</VBoxContainer> </VBoxContainer>
<Control HorizontalExpand="True" SizeFlagsStretchRatio="0.05"/> <Control MinSize="10 0"/>
<VBoxContainer HorizontalExpand="True" SizeFlagsStretchRatio="0.45"> <VBoxContainer HorizontalExpand="True" SizeFlagsStretchRatio="0.6">
<HBoxContainer Align="Center" VerticalExpand="True" SizeFlagsStretchRatio="0.25"> <Control>
<TextureRect Name="TargetTexture" HorizontalExpand="True" SizeFlagsStretchRatio="0.15" Stretch="KeepCentered"/> <HBoxContainer Align="Center">
<VBoxContainer HorizontalExpand="True" SizeFlagsStretchRatio="0.85"> <TextureRect Name="TargetTexture" HorizontalAlignment="Right" Stretch="Keep"/>
<RichTextLabel Name="TargetName" VerticalExpand="True" SizeFlagsStretchRatio="0.1"/> <Control MinSize="10 0"/>
<RichTextLabel Name="TargetDesc" VerticalExpand="True" SizeFlagsStretchRatio="0.9"/> <VBoxContainer>
</VBoxContainer> <RichTextLabel Name="TargetName"/>
</HBoxContainer> <RichTextLabel Name="TargetDesc"/>
<ItemList Name="StepList" VerticalExpand="True" SizeFlagsStretchRatio="0.1"/> </VBoxContainer>
<VBoxContainer VerticalExpand="True" SizeFlagsStretchRatio="0.1"> </HBoxContainer>
</Control>
<ItemList Name="StepList" VerticalExpand="True"/>
<VBoxContainer>
<Button Name="BuildButton" Disabled="True" ToggleMode="True" VerticalExpand="True" SizeFlagsStretchRatio="0.5"/> <Button Name="BuildButton" Disabled="True" ToggleMode="True" VerticalExpand="True" SizeFlagsStretchRatio="0.5"/>
<HBoxContainer VerticalExpand="True" SizeFlagsStretchRatio="0.5"> <HBoxContainer VerticalExpand="True" SizeFlagsStretchRatio="0.5">
<Button Name="EraseButton" ToggleMode="True" HorizontalExpand="True" SizeFlagsStretchRatio="0.7"/> <Button Name="EraseButton" ToggleMode="True" HorizontalExpand="True" SizeFlagsStretchRatio="0.7"/>