From df20ae1aecf09e16e34483ab483ca596a58dc5d0 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 30 Jun 2018 22:41:16 +0100 Subject: [PATCH] Fix TextFieldWidget margin properties not being cloned. --- OpenRA.Mods.Common/Widgets/TextFieldWidget.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRA.Mods.Common/Widgets/TextFieldWidget.cs b/OpenRA.Mods.Common/Widgets/TextFieldWidget.cs index 3e38c94d9c..e04ccdf27c 100644 --- a/OpenRA.Mods.Common/Widgets/TextFieldWidget.cs +++ b/OpenRA.Mods.Common/Widgets/TextFieldWidget.cs @@ -90,6 +90,8 @@ namespace OpenRA.Mods.Common.Widgets { Text = widget.Text; MaxLength = widget.MaxLength; + LeftMargin = widget.LeftMargin; + RightMargin = widget.RightMargin; Type = widget.Type; Font = widget.Font; TextColor = widget.TextColor;