Unstable 0.16.3.0
This commit is contained in:
@@ -565,6 +565,13 @@ namespace Barotrauma
|
||||
});
|
||||
#endif
|
||||
|
||||
foreach (var child in leftPanel.Children)
|
||||
{
|
||||
if (child is GUITextBlock textBlock)
|
||||
{
|
||||
textBlock.RectTransform.MinSize = new Point(textBlock.RectTransform.MinSize.X, (int)Math.Max(textBlock.RectTransform.MinSize.Y, textBlock.TextSize.Y));
|
||||
}
|
||||
}
|
||||
|
||||
// right panel --------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user