Refactor OptionsMenu to XAML UI (#4299)
This commit is contained in:
22
Content.Client/EscapeMenu/UI/Tabs/KeyRebindTab.xaml
Normal file
22
Content.Client/EscapeMenu/UI/Tabs/KeyRebindTab.xaml
Normal file
@@ -0,0 +1,22 @@
|
||||
<Control xmlns="https://spacestation14.io"
|
||||
xmlns:hudUi="clr-namespace:Content.Client.HUD.UI">
|
||||
<BoxContainer Orientation="Vertical">
|
||||
<ScrollContainer VerticalExpand="True">
|
||||
<BoxContainer Name="KeybindsContainer" Orientation="Vertical" Margin="8 8 8 8">
|
||||
|
||||
<!-- Keybind buttons are added here in the C# code -->
|
||||
|
||||
</BoxContainer>
|
||||
</ScrollContainer>
|
||||
<hudUi:StripeBack HasBottomEdge="False" HasMargins="False">
|
||||
<BoxContainer Orientation="Horizontal">
|
||||
<Control MinSize="8 0" />
|
||||
<Label Text="{Loc 'ui-options-binds-explanation'}" StyleClasses="LabelSubText" />
|
||||
<Button Name="ResetAllButton"
|
||||
Text="{Loc 'ui-options-binds-reset-all'}"
|
||||
HorizontalExpand="True"
|
||||
HorizontalAlignment="Right" />
|
||||
</BoxContainer>
|
||||
</hudUi:StripeBack>
|
||||
</BoxContainer>
|
||||
</Control>
|
||||
Reference in New Issue
Block a user