FSlateApplicationBase::CalculateTooltipWindowPosition

Calculates the tooltip window position.

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::CalculateTooltipWindowPosition()

FSlateApplication::CalculateTooltipWindowPosition()

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h

Include

#include "Application/SlateApplicationBase.h"

Syntax

FVector2D CalculateTooltipWindowPosition
(
    const FSlateRect & InAnchorRect,
    const FVector2D & InSize,
    bool bAutoAdjustForDPIScale
) const

Remarks

Calculates the tooltip window position.

Returns

The suggested position.

Parameters

Parameter

Description

InAnchorRect

The current(suggested) window position and size of an area which may not be covered by the popup.

InSize

The size of the tooltip window.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss