From 5d043d8f7288042fec915b08e2feb174b131f7b2 Mon Sep 17 00:00:00 2001 From: Yuval Tassa Date: Tue, 23 Jun 2026 01:45:52 -0700 Subject: [PATCH] Minor tweaks to studio GUI style parameters. PiperOrigin-RevId: 936508032 Change-Id: I93806ba3d0569b5ee01e95384f7f835a201b8253 --- src/experimental/platform/ux/gui.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/experimental/platform/ux/gui.cc b/src/experimental/platform/ux/gui.cc index 34d3e5a2..89897675 100644 --- a/src/experimental/platform/ux/gui.cc +++ b/src/experimental/platform/ux/gui.cc @@ -312,10 +312,10 @@ void SetupTheme(GuiTheme theme) { int hspacing = 3; int vspacing = 2; - float rounding = 2.0f; + float rounding = 3.0f; s.DisplaySafeAreaPadding = ImVec2(0, 0); s.WindowPadding = ImTrunc(ImVec2(6.0f * scale, 6.0f * scale)); - s.FramePadding = ImTrunc(ImVec2(hspacing * scale, 3.0f * scale)); + s.FramePadding = ImTrunc(ImVec2(hspacing * scale, 4.0f * scale)); s.ItemSpacing = ImTrunc(ImVec2(hspacing * scale, vspacing * scale)); s.ItemInnerSpacing = ImTrunc(ImVec2(hspacing * scale, vspacing * scale)); s.WindowRounding = ImTrunc(rounding * scale); @@ -326,7 +326,7 @@ void SetupTheme(GuiTheme theme) { s.GrabRounding = ImTrunc(rounding * scale); s.PopupRounding = ImTrunc(rounding * scale); s.WindowBorderSize = 0.0f; - s.FrameBorderSize = 0.0f; + s.FrameBorderSize = 1.0f; s.PopupBorderSize = 1.0f; s.IndentSpacing = ImTrunc(10.0f * scale); s.ScrollbarSize = ImTrunc(10.0f * scale);