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:
@@ -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)
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user