From df28b0d97775fe74cd1afd9e92648b765889acb2 Mon Sep 17 00:00:00 2001 From: Saas Date: Mon, 13 Oct 2025 11:31:53 +0200 Subject: [PATCH] fix Content Panel navigation bar scroll bar colors Same concept as in #2581 --- Source/Editor/Windows/ContentWindow.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Editor/Windows/ContentWindow.cs b/Source/Editor/Windows/ContentWindow.cs index 3d2ec4a66..41382e60c 100644 --- a/Source/Editor/Windows/ContentWindow.cs +++ b/Source/Editor/Windows/ContentWindow.cs @@ -142,6 +142,7 @@ namespace FlaxEditor.Windows { Title = "Content"; Icon = editor.Icons.Folder32; + var style = Style.Current; FlaxEditor.Utilities.Utils.SetupCommonInputActions(this); @@ -164,6 +165,8 @@ namespace FlaxEditor.Windows _navigationBar = new NavigationBar { Parent = _toolStrip, + ScrollbarTrackColor = style.Background, + ScrollbarThumbColor = style.ForegroundGrey, }; // Split panel @@ -179,7 +182,7 @@ namespace FlaxEditor.Windows var headerPanel = new ContainerControl { AnchorPreset = AnchorPresets.HorizontalStretchTop, - BackgroundColor = Style.Current.Background, + BackgroundColor = style.Background, IsScrollable = false, Offsets = new Margin(0, 0, 0, 18 + 6), };