@@ -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,
|
||||
|
||||
@@ -391,6 +391,7 @@ namespace FlaxEditor.Windows
|
||||
VerticalAlignment = TextAlignment.Near,
|
||||
HorizontalAlignment = TextAlignment.Near,
|
||||
Offsets = Margin.Zero,
|
||||
Pivot = Float2.Zero,
|
||||
};
|
||||
|
||||
// Entries panel
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user