Update Editor UI to use empty Pivot after fa68a5f572

#3031
This commit is contained in:
Wojtek Figat
2025-03-16 23:06:08 +01:00
parent fa68a5f572
commit a4082934b8
26 changed files with 45 additions and 4 deletions

View File

@@ -390,6 +390,7 @@ namespace FlaxEditor.Windows
_entriesPanel = new VerticalPanel
{
AnchorPreset = AnchorPresets.HorizontalStretchTop,
Pivot = Float2.Zero,
Offsets = Margin.Zero,
IsScrollable = true,
Parent = _split.Panel1,

View File

@@ -162,11 +162,13 @@ namespace FlaxEditor.Windows
{
AnchorPreset = AnchorPresets.StretchAll,
Offsets = Margin.Zero,
Pivot = Float2.Zero,
Parent = this,
};
var panel = new VerticalPanel
{
AnchorPreset = AnchorPresets.HorizontalStretchTop,
Pivot = Float2.Zero,
Offsets = Margin.Zero,
IsScrollable = true,
Parent = scroll,
@@ -187,6 +189,7 @@ namespace FlaxEditor.Windows
var vp = new Panel
{
AnchorPreset = AnchorPresets.StretchAll,
Offsets = Margin.Zero,
Parent = this,
};
_addPluginProjectButton = new Button

View File

@@ -67,6 +67,7 @@ namespace FlaxEditor.Windows.Profiler
{
AnchorPreset = AnchorPresets.HorizontalStretchTop,
Offsets = Margin.Zero,
Pivot = Float2.Zero,
IsScrollable = true,
Parent = panel,
};

View File

@@ -87,6 +87,7 @@ namespace FlaxEditor.Windows.Profiler
{
AnchorPreset = AnchorPresets.HorizontalStretchTop,
Offsets = Margin.Zero,
Pivot = Float2.Zero,
IsScrollable = true,
Parent = panel,
};

View File

@@ -64,6 +64,7 @@ namespace FlaxEditor.Windows.Profiler
{
AnchorPreset = AnchorPresets.HorizontalStretchTop,
Offsets = Margin.Zero,
Pivot = Float2.Zero,
IsScrollable = true,
Parent = panel,
};

View File

@@ -1,6 +1,6 @@
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved.
using System;
using FlaxEngine;
using FlaxEngine.GUI;
namespace FlaxEditor.Windows.Profiler
@@ -28,6 +28,7 @@ namespace FlaxEditor.Windows.Profiler
{
AnchorPreset = AnchorPresets.HorizontalStretchTop,
Offsets = Margin.Zero,
Pivot = Float2.Zero,
IsScrollable = true,
Parent = panel,
};

View File

@@ -68,6 +68,7 @@ namespace FlaxEditor.Windows.Profiler
{
AnchorPreset = AnchorPresets.HorizontalStretchTop,
Offsets = Margin.Zero,
Pivot = Float2.Zero,
IsScrollable = true,
Parent = panel,
};

View File

@@ -61,6 +61,7 @@ namespace FlaxEditor.Windows.Profiler
{
AnchorPreset = AnchorPresets.HorizontalStretchTop,
Offsets = Margin.Zero,
Pivot = Float2.Zero,
IsScrollable = true,
Parent = panel,
};

View File

@@ -32,6 +32,7 @@ namespace FlaxEditor.Windows.Profiler
{
AnchorPreset = AnchorPresets.HorizontalStretchTop,
Offsets = Margin.Zero,
Pivot = Float2.Zero,
IsScrollable = true,
Parent = panel,
};

View File

@@ -32,6 +32,7 @@ namespace FlaxEditor.Windows.Profiler
{
AnchorPreset = AnchorPresets.HorizontalStretchTop,
Offsets = Margin.Zero,
Pivot = Float2.Zero,
IsScrollable = true,
Parent = panel,
};

View File

@@ -92,6 +92,7 @@ namespace FlaxEditor.Windows
Parent = this,
AnchorPreset = AnchorPresets.StretchAll,
Offset = Vector2.Zero,
Pivot = Float2.Zero,
AutoSize = false,
Bounds = Rectangle.Empty
};