mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-05-29 03:23:37 +02:00
Fixed a NRE with tooltips
This commit is contained in:
parent
3cd8c54e5c
commit
fc9b93b129
|
@ -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