diff --git a/Source/Editor/Windows/Assets/JsonAssetWindow.cs b/Source/Editor/Windows/Assets/JsonAssetWindow.cs index 520d99261..1db3d14d0 100644 --- a/Source/Editor/Windows/Assets/JsonAssetWindow.cs +++ b/Source/Editor/Windows/Assets/JsonAssetWindow.cs @@ -221,6 +221,7 @@ namespace FlaxEditor.Windows.Assets { Text = $"{Asset.DataTypeName}", TooltipText = "Asset data type (full name)", + Pivot = Float2.Zero, AnchorPreset = AnchorPresets.TopRight, AutoWidth = true, Parent = this, diff --git a/Source/Editor/Windows/DebugLogWindow.cs b/Source/Editor/Windows/DebugLogWindow.cs index 8ced561e4..e05dfc091 100644 --- a/Source/Editor/Windows/DebugLogWindow.cs +++ b/Source/Editor/Windows/DebugLogWindow.cs @@ -391,6 +391,7 @@ namespace FlaxEditor.Windows VerticalAlignment = TextAlignment.Near, HorizontalAlignment = TextAlignment.Near, Offsets = Margin.Zero, + Pivot = Float2.Zero, }; // Entries panel diff --git a/Source/Editor/Windows/PluginsWindow.cs b/Source/Editor/Windows/PluginsWindow.cs index 282c1dfe9..83e5c23a3 100644 --- a/Source/Editor/Windows/PluginsWindow.cs +++ b/Source/Editor/Windows/PluginsWindow.cs @@ -110,7 +110,7 @@ namespace FlaxEditor.Windows AnchorPreset = AnchorPresets.TopRight, Text = versionString, Parent = this, - Bounds = new Rectangle(Width - 140 - margin - xOffset, margin, 140, 14), + Bounds = new Rectangle(Width - 140 - margin, margin, 140, 14), }; string url = null; @@ -130,7 +130,7 @@ namespace FlaxEditor.Windows AnchorPreset = AnchorPresets.TopRight, Text = desc.Author, Parent = this, - Bounds = new Rectangle(Width - authorWidth - margin - xOffset, versionLabel.Bottom + margin, authorWidth, 14), + Bounds = new Rectangle(Width - authorWidth - margin, versionLabel.Bottom + margin, authorWidth, 14), }; if (url != null) { @@ -245,6 +245,7 @@ namespace FlaxEditor.Windows Text = "Name", HorizontalAlignment = TextAlignment.Near, }; + nameLabel.LocalX -= 10; nameLabel.LocalY += 10; var nameTextBox = new TextBox @@ -291,7 +292,7 @@ namespace FlaxEditor.Windows Text = "Git Path", HorizontalAlignment = TextAlignment.Near, }; - gitPathLabel.LocalX += (300 - gitPathLabel.Width) * 0.5f; + gitPathLabel.LocalX += (250 - gitPathLabel.Width) * 0.5f; gitPathLabel.LocalY += 35; var gitPathTextBox = new TextBox