Fix about dialog button
This commit is contained in:
@@ -52,9 +52,11 @@ namespace FlaxEditor.Windows
|
||||
VerticalAlignment = TextAlignment.Near,
|
||||
Parent = this
|
||||
};
|
||||
var copyVersionButton = new Button(Width - 104, 6, 100, 20)
|
||||
var buttonText = "Copy version info";
|
||||
var fontSize = Style.Current.FontMedium.MeasureText(buttonText);
|
||||
var copyVersionButton = new Button(Width - fontSize.X - 8, 6, fontSize.X + 4, 20)
|
||||
{
|
||||
Text = "Copy version info",
|
||||
Text = buttonText,
|
||||
TooltipText = "Copies the current engine version information to system clipboard.",
|
||||
Parent = this
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user