类参考
FDreamScrollBarStyle
FDreamScrollBarStyle
声明于 Public/Controls/DreamControlStyles.h。
滚动框:一个被裁剪的视口、在其中滑动的内容,以及旁边的滚动条。
滚动条自身的外观是 FDreamScrollBarStyle —— 独立滚动条使用的同一个结构体,因此项目只需为滚动条设计一次样式,两者都会采用它。
Properties
| Name | Type | Category | In the details panel | From Blueprint | Description |
|---|---|---|---|---|---|
Thickness | float | Scroll Bar Style | yes | read / write | |
HandlePadding | float | Scroll Bar Style | yes | read / write | |
BarPadding | FMargin | Scroll Bar Style | yes | read / write | |
TrackColor | FColor | Scroll Bar Style | yes | read / write | |
HandleNormal | FColor | Scroll Bar Style | yes | read / write | |
HandleHovered | FColor | Scroll Bar Style | yes | read / write | |
HandlePressed | FColor | Scroll Bar Style | yes | read / write | |
HandleDisabled | FColor | Scroll Bar Style | yes | read / write | |
HandleFocused | FColor | Scroll Bar Style | yes | read / write | |
TransitionDuration | float | Scroll Bar Style | yes | read / write | |
CornerRadius | float | Scroll Bar Style | yes | read / write | |
TrackBrush | FDreamUIFaceBrush | Scroll Bar Style | yes | read / write | |
HandleBrush | FDreamUIFaceBrush | Scroll Bar Style | yes | read / write |