Skip to content

Commit

Permalink
Xamlify this too
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth committed Apr 8, 2024
1 parent f27a934 commit ba3de05
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 19 deletions.
19 changes: 0 additions & 19 deletions Content.Client/Preferences/UI/HighlightedContainer.cs

This file was deleted.

11 changes: 11 additions & 0 deletions Content.Client/Preferences/UI/HighlightedContainer.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<PanelContainer
xmlns="https://spacestation14.io"
xmlns:graphics="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client">
<PanelContainer.PanelOverride>
<graphics:StyleBoxFlat BackgroundColor="#2F2F35"
ContentMarginTopOverride="10"
ContentMarginBottomOverride="10"
ContentMarginLeftOverride="10"
ContentMarginRightOverride="10"/>
</PanelContainer.PanelOverride>
</PanelContainer>
14 changes: 14 additions & 0 deletions Content.Client/Preferences/UI/HighlightedContainer.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;

namespace Content.Client.Preferences.UI;

[GenerateTypedNameReferences]
public sealed partial class HighlightedContainer : PanelContainer
{
public HighlightedContainer()
{
RobustXamlLoader.Load(this);
}
}

0 comments on commit ba3de05

Please sign in to comment.