Improve Paper UI, allow an to entity configure how it's UI looks (#13494)
Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>
This commit is contained in:
23
Content.Client/Paper/UI/StampWidget.xaml.cs
Normal file
23
Content.Client/Paper/UI/StampWidget.xaml.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Content.Shared.Paper;
|
||||
using Robust.Client.AutoGenerated;
|
||||
using Robust.Client.UserInterface.Controls;
|
||||
using Robust.Client.UserInterface.CustomControls;
|
||||
using Robust.Client.UserInterface.XAML;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Client.Paper.UI
|
||||
{
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class StampWidget : Container
|
||||
{
|
||||
public string? Stamper {
|
||||
get => StampedByLabel.Text;
|
||||
set => StampedByLabel.Text = value;
|
||||
}
|
||||
|
||||
public StampWidget()
|
||||
{
|
||||
RobustXamlLoader.Load(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user