@@ -425,6 +425,47 @@ SWindow(client_size=(512, 512), title='Slate Window')(
425425
426426## SScrollBox
427427
428+ This container allows you to scroll on big series of widgets:
429+
430+ ``` python
431+ from unreal_engine import SWindow, STextBlock, SGridPanel, SBorder, SScrollBox
432+ from unreal_engine.enums import EOrientation
433+
434+ margin = 40
435+
436+ SWindow(client_size = (512 , 256 ), title = ' Slate Window' )(
437+ SScrollBox(orientation = EOrientation.Orient_Vertical)
438+ (
439+ SGridPanel()
440+ (
441+ SBorder(padding = margin)(STextBlock(text = ' cell0' )), column=0 , row=0
442+ )
443+ (
444+ SBorder(padding = margin)(STextBlock(text = ' cell1' )), column=1 , row=0
445+ )
446+ (
447+ SBorder(padding = margin)(STextBlock(text = ' cell2' )), column=2 , row=0
448+ )
449+ (
450+ SBorder(padding = margin)(STextBlock(text = ' cell3' )), column=0 , row=1
451+ )
452+ (
453+ SBorder(padding = margin)(STextBlock(text = ' cell4' )), column=3 , row=1 , row_span=3
454+ )
455+ (
456+ SBorder(padding = margin)(STextBlock(text = ' cell5' )), column=2 , row=2
457+ )
458+ (
459+ SBorder(padding = margin)(STextBlock(text = ' cell6' )), column=0 , row=3 , column_span=2
460+ )
461+ )
462+ )
463+ ```
464+
465+ ![ SScrollBox] ( https://github.com/20tab/UnrealEnginePython/raw/master/docs/screenshots/slate_SScrollBox.png )
466+
467+ More infos here: https://api.unrealengine.com/INT/API/Runtime/Slate/Widgets/Layout/SScrollBox/
468+
428469## SButton
429470
430471## SEditableTextBox
0 commit comments