Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Types/SlateEnums.h |
Include |
#include "Types/SlateEnums.h" |
enum EMenuPlacement
{
MenuPlacement_BelowAnchor,
MenuPlacement_CenteredBelowAnchor,
MenuPlacement_BelowRightAnchor,
MenuPlacement_ComboBox,
MenuPlacement_ComboBoxRight,
MenuPlacement_MenuRight,
MenuPlacement_AboveAnchor,
MenuPlacement_CenteredAboveAnchor,
MenuPlacement_AboveRightAnchor,
MenuPlacement_MenuLeft,
MenuPlacement_Center,
MenuPlacement_RightLeftCenter,
MenuPlacement_MatchBottomLeft,
}
Name |
Description |
---|---|
MenuPlacement_BelowAnchor |
Place the menu immediately below the anchor |
MenuPlacement_CenteredBelowAnchor |
Place the menu immediately centered below the anchor |
MenuPlacement_BelowRightAnchor |
Place the menu immediately below the anchor aligned to the right of the content |
MenuPlacement_ComboBox |
Place the menu immediately below the anchor and match is width to the anchor's content |
MenuPlacement_ComboBoxRight |
Place the menu immediately below the anchor and match is width to the anchor's content. |
MenuPlacement_MenuRight |
Place the menu to the right of the anchor |
MenuPlacement_AboveAnchor |
Place the menu immediately above the anchor, no transition effect |
MenuPlacement_CenteredAboveAnchor |
Place the menu immediately centered above the anchor, no transition effect |
MenuPlacement_AboveRightAnchor |
Place the menu immediately above the anchor aligned to the right of the content |
MenuPlacement_MenuLeft |
Place the menu to the left of the anchor |
MenuPlacement_Center |
Place the menu's center on top of the menu anchor's center point |
MenuPlacement_RightLeftCenter |
Place the menu's vertical center on the left side at the menu anchor's vertical center on the right side |
MenuPlacement_MatchBottomLeft |
Place the menu's bottom left corner directly on top of the menu anchor's bottom left corner |
Enumerates possible placements for pop-up menus.