From 8fe63ade3161013a99c91103c53ff70789d506f3 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 6 Mar 2026 19:32:19 +0900 Subject: [PATCH] Adjust padding and text size in editor inspector (#36843) It was taking up way too much vertical space previously. I'm using the same font specs that are in the new dropdown header, which seem to work quite well. Negative padding because without it everything is way too vertically sparse. Why? I was looking at [this discussion](https://github.com/ppy/osu/discussions/36708) and like "we need to have SV visible here" but there's really not much room with all this text in the way. --- osu.Game/Screens/Edit/Compose/Components/EditorInspector.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game/Screens/Edit/Compose/Components/EditorInspector.cs b/osu.Game/Screens/Edit/Compose/Components/EditorInspector.cs index 5837dd7946..7aaa2e7f65 100644 --- a/osu.Game/Screens/Edit/Compose/Components/EditorInspector.cs +++ b/osu.Game/Screens/Edit/Compose/Components/EditorInspector.cs @@ -35,14 +35,14 @@ namespace osu.Game.Screens.Edit.Compose.Components protected void AddHeader(string header) => InspectorText.AddParagraph($"{header}: ", s => { - s.Padding = new MarginPadding { Top = 2 }; - s.Font = s.Font.With(size: 12); + s.Font = OsuFont.Style.Caption1; s.Colour = colourProvider.Content2; }); protected void AddValue(string value) => InspectorText.AddParagraph(value, s => { - s.Font = s.Font.With(weight: FontWeight.SemiBold); + s.Padding = new MarginPadding { Top = -5 }; + s.Font = OsuFont.Style.Body; s.Colour = colourProvider.Content1; }); }