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.
| 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.