Max size for examine tooltips so they word wrap correctly.

This commit is contained in:
Pieter-Jan Briers
2021-03-04 23:33:45 +01:00
parent adf63765f7
commit e6db24a3f8

View File

@@ -71,7 +71,7 @@ namespace Content.Client.GameObjects.EntitySystems
var popupPos = _userInterfaceManager.MousePositionScaled;
// Actually open the tooltip.
_examineTooltipOpen = new Popup();
_examineTooltipOpen = new Popup { MaxWidth = 400};
_userInterfaceManager.ModalRoot.AddChild(_examineTooltipOpen);
var panel = new PanelContainer();
panel.AddStyleClass(StyleClassEntityTooltip);