1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-25 22:18:34 +01:00

Fixed a NRE with tooltips

This commit is contained in:
Ell 2021-01-20 06:41:52 +01:00
parent 3cd8c54e5c
commit fc9b93b129

View file

@ -123,6 +123,7 @@ namespace MLEM.Ui.Elements {
}
private void Init(Element elementToHover) {
if (this.Paragraph != null)
this.Paragraph.AutoAdjustWidth = true;
this.SetWidthBasedOnChildren = true;