Fix styling for Admin Menu lists (#38261)

* remove styleclass from playertab 'button' lines

* cvar, fix button-style header alignment

* Fix requested changes

And also the extra cvar things I was meant to remove in the upstream merge

* Tiny tweaks

---------

Co-authored-by: Errant <35878406+Errant-4@users.noreply.github.com>
This commit is contained in:
crazybrain23
2025-06-21 02:13:25 +01:00
committed by GitHub
parent 6e59f748e0
commit 2e5ddb4bb5
2 changed files with 2 additions and 1 deletions

View File

@@ -132,8 +132,8 @@ public sealed partial class ObjectsTab : Control
entry.OnTeleport += TeleportTo; entry.OnTeleport += TeleportTo;
entry.OnDelete += Delete; entry.OnDelete += Delete;
button.ToolTip = $"{info.Name}, {info.Entity}"; button.ToolTip = $"{info.Name}, {info.Entity}";
button.AddChild(entry); button.AddChild(entry);
button.StyleClasses.Clear();
} }
private bool DataFilterCondition(string filter, ListData listData) private bool DataFilterCondition(string filter, ListData listData)

View File

@@ -172,6 +172,7 @@ public sealed partial class PlayerTab : Control
_playerTabSymbolSetting); _playerTabSymbolSetting);
button.AddChild(entry); button.AddChild(entry);
button.ToolTip = $"{player.Username}, {player.CharacterName}, {player.IdentityName}, {player.StartingJob}"; button.ToolTip = $"{player.Username}, {player.CharacterName}, {player.IdentityName}, {player.StartingJob}";
button.StyleClasses.Clear();
} }
/// <summary> /// <summary>