Max size for examine tooltips so they word wrap correctly.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user