engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | Protected 成员函数 | 所有成员列表
SBoxPanel::FSlot类 参考

A BoxPanel contains one BoxPanel child and describes how that child should be arranged on the screen. 更多...

#include <SBoxPanel.h>

继承自 TSlotBase< SlotType > .

被 SHorizontalBox::FSlot , 以及 SVerticalBox::FSlot 继承.

Public 成员函数

virtual ~FSlot ()
 Horizontal and Vertical Boxes inherit from FSlot
 

Public 属性

TEnumAsByte< EHorizontalAlignment > HAlignment
 Horizontal positioning of child within the allocated slot
 
TAttribute< float > MaxSize
 The max size that this slot can be (0 if no max)
 
FSizeParam SizeParam
 How much space this slot should occupy along panel's direction. 更多...
 
TAttribute< FMargin > SlotPadding
 The padding to add around the child.
 
TEnumAsByte< EVerticalAlignment > VAlignment
 Vertical positioning of child within the allocated slot
 

Protected 成员函数

 FSlot ()
 Default values for a slot.
 

详细描述

A BoxPanel contains one BoxPanel child and describes how that child should be arranged on the screen.

类成员变量说明

◆ SizeParam

FSizeParam SBoxPanel::FSlot::SizeParam

How much space this slot should occupy along panel's direction.

When SizeRule is SizeRule_Auto, the widget's DesiredSize will be used as the space required. When SizeRule is SizeRule_Stretch, the available space will be distributed proportionately between peer Widgets depending on the Value property. Available space is space remaining after all the peers' SizeRule_Auto requirements have been satisfied.


该类的文档由以下文件生成: