@@ -87,6 +87,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
text = WidgetUtils.WrapText(text, description.Bounds.Width, descriptionFont);
|
text = WidgetUtils.WrapText(text, description.Bounds.Width, descriptionFont);
|
||||||
description.Text = text;
|
description.Text = text;
|
||||||
description.Bounds.Height = descriptionFont.Measure(text).Y;
|
description.Bounds.Height = descriptionFont.Measure(text).Y;
|
||||||
|
descriptionPanel.ScrollToTop();
|
||||||
descriptionPanel.Layout.AdjustChildren();
|
descriptionPanel.Layout.AdjustChildren();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user