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,6 +123,7 @@ namespace MLEM.Ui.Elements {
|
|||
}
|
||||
|
||||
private void Init(Element elementToHover) {
|
||||
if (this.Paragraph != null)
|
||||
this.Paragraph.AutoAdjustWidth = true;
|
||||
|
||||
this.SetWidthBasedOnChildren = true;
|
||||
|
|
Loading…
Reference in a new issue