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;
|
var popupPos = _userInterfaceManager.MousePositionScaled;
|
||||||
|
|
||||||
// Actually open the tooltip.
|
// Actually open the tooltip.
|
||||||
_examineTooltipOpen = new Popup();
|
_examineTooltipOpen = new Popup { MaxWidth = 400};
|
||||||
_userInterfaceManager.ModalRoot.AddChild(_examineTooltipOpen);
|
_userInterfaceManager.ModalRoot.AddChild(_examineTooltipOpen);
|
||||||
var panel = new PanelContainer();
|
var panel = new PanelContainer();
|
||||||
panel.AddStyleClass(StyleClassEntityTooltip);
|
panel.AddStyleClass(StyleClassEntityTooltip);
|
||||||
|
|||||||
Reference in New Issue
Block a user