From e6db24a3f8e536d04027b6e26f3f33c536763c7e Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Thu, 4 Mar 2021 23:33:45 +0100 Subject: [PATCH] Max size for examine tooltips so they word wrap correctly. --- Content.Client/GameObjects/EntitySystems/ExamineSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Client/GameObjects/EntitySystems/ExamineSystem.cs b/Content.Client/GameObjects/EntitySystems/ExamineSystem.cs index 63186bfa26..79640c0aa3 100644 --- a/Content.Client/GameObjects/EntitySystems/ExamineSystem.cs +++ b/Content.Client/GameObjects/EntitySystems/ExamineSystem.cs @@ -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);