fix Content Panel navigation bar scroll bar colors
Same concept as in #2581
This commit is contained in:
@@ -142,6 +142,7 @@ namespace FlaxEditor.Windows
|
|||||||
{
|
{
|
||||||
Title = "Content";
|
Title = "Content";
|
||||||
Icon = editor.Icons.Folder32;
|
Icon = editor.Icons.Folder32;
|
||||||
|
var style = Style.Current;
|
||||||
|
|
||||||
FlaxEditor.Utilities.Utils.SetupCommonInputActions(this);
|
FlaxEditor.Utilities.Utils.SetupCommonInputActions(this);
|
||||||
|
|
||||||
@@ -164,6 +165,8 @@ namespace FlaxEditor.Windows
|
|||||||
_navigationBar = new NavigationBar
|
_navigationBar = new NavigationBar
|
||||||
{
|
{
|
||||||
Parent = _toolStrip,
|
Parent = _toolStrip,
|
||||||
|
ScrollbarTrackColor = style.Background,
|
||||||
|
ScrollbarThumbColor = style.ForegroundGrey,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Split panel
|
// Split panel
|
||||||
@@ -179,7 +182,7 @@ namespace FlaxEditor.Windows
|
|||||||
var headerPanel = new ContainerControl
|
var headerPanel = new ContainerControl
|
||||||
{
|
{
|
||||||
AnchorPreset = AnchorPresets.HorizontalStretchTop,
|
AnchorPreset = AnchorPresets.HorizontalStretchTop,
|
||||||
BackgroundColor = Style.Current.Background,
|
BackgroundColor = style.Background,
|
||||||
IsScrollable = false,
|
IsScrollable = false,
|
||||||
Offsets = new Margin(0, 0, 0, 18 + 6),
|
Offsets = new Margin(0, 0, 0, 18 + 6),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user