From d5225d1f46f4a6701947c0ead72fd82da44eff13 Mon Sep 17 00:00:00 2001 From: Intoxicating-Innocence <188202277+Intoxicating-Innocence@users.noreply.github.com> Date: Tue, 26 Nov 2024 19:28:31 +1100 Subject: [PATCH] Ghost role drop-down alignment (#33397) * dropdown shares margin width with children * removed dependency that rider added for some reason * reduced vertical margin from 8 to 2 --- .../Systems/Ghost/Controls/Roles/GhostRolesWindow.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRolesWindow.xaml.cs b/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRolesWindow.xaml.cs index 627ecfe987a5ee..9e2ff816b36d7d 100644 --- a/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRolesWindow.xaml.cs +++ b/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRolesWindow.xaml.cs @@ -71,6 +71,7 @@ public void AddEntry(string name, string description, bool hasAccess, FormattedM buttonHeading.AddStyleClass(ContainerButton.StyleClassButton); buttonHeading.Label.HorizontalAlignment = HAlignment.Center; buttonHeading.Label.HorizontalExpand = true; + buttonHeading.Margin = new Thickness(8, 0, 8, 2); var body = new CollapsibleBody {