From: eoineoineoin Date: Thu, 22 Jan 2026 17:56:50 +0000 (+0000) Subject: Character editor style fixes (#41278) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=6d4f622977d9049a545b076d102950d3a61ef823;p=space-station-14.git Character editor style fixes (#41278) * Restore pre-StyleNano element height * Add style for HelpButton to sheetlet --------- Co-authored-by: Janet Blackquill --- diff --git a/Content.Client/Lobby/UI/CharacterSetupGui.xaml b/Content.Client/Lobby/UI/CharacterSetupGui.xaml index 09ed989fc6..ab264deb34 100644 --- a/Content.Client/Lobby/UI/CharacterSetupGui.xaml +++ b/Content.Client/Lobby/UI/CharacterSetupGui.xaml @@ -28,8 +28,7 @@ Text="{Loc 'character-setup-gui-character-setup-close-button'}" StyleClasses="ButtonBig"/> - - + diff --git a/Content.Client/Stylesheets/Sheetlets/ButtonSheetlet.cs b/Content.Client/Stylesheets/Sheetlets/ButtonSheetlet.cs index 51ba206392..8b92e1410a 100644 --- a/Content.Client/Stylesheets/Sheetlets/ButtonSheetlet.cs +++ b/Content.Client/Stylesheets/Sheetlets/ButtonSheetlet.cs @@ -19,6 +19,7 @@ public sealed class ButtonSheetlet : Sheetlet where T : PalettedStylesheet var crossTex = sheet.GetTextureOr(iconCfg.CrossIconPath, NanotrasenStylesheet.TextureRoot); var refreshTex = sheet.GetTextureOr(iconCfg.RefreshIconPath, NanotrasenStylesheet.TextureRoot); + var helpTex = sheet.GetTextureOr(iconCfg.HelpIconPath, NanotrasenStylesheet.TextureRoot); var rules = new List { @@ -56,6 +57,11 @@ public sealed class ButtonSheetlet : Sheetlet where T : PalettedStylesheet .Class(StyleClass.RefreshButton) .Prop(TextureButton.StylePropertyTexture, refreshTex), + // Help button + E() + .Class(StyleClass.HelpButton) + .Prop(TextureButton.StylePropertyTexture, helpTex), + // Ensure labels in buttons are aligned. E