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:
parent
3cd8c54e5c
commit
fc9b93b129
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,8 @@ namespace MLEM.Ui.Elements {
|
|||
}
|
||||
|
||||
private void Init(Element elementToHover) {
|
||||
this.Paragraph.AutoAdjustWidth = true;
|
||||
if (this.Paragraph != null)
|
||||
this.Paragraph.AutoAdjustWidth = true;
|
||||
|
||||
this.SetWidthBasedOnChildren = true;
|
||||
this.SetHeightBasedOnChildren = true;
|
||||
|
|
Loading…
Reference in a new issue