Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

HScrollBar

繼承: ScrollBar < Range < Control < CanvasItem < Node < Object

水平捲軸,從左側(最小)滾動到右側(最大)。

說明

水平捲軸,通常用於為超出控制項可見寬度的內容進行導覽。這是基於 Range 的控件,從左側(最小)滾動到右側(最大)。

主題屬性

int

padding_bottom

0

int

padding_top

0


主題屬性說明

int padding_bottom = 0 🔗

Padding between the bottom of the ScrollBar.scroll element and the ScrollBar.grabber.

Note: To apply horizontal padding, modify the left/right content margins of ScrollBar.scroll instead.


int padding_top = 0 🔗

Padding between the top of the ScrollBar.scroll element and the ScrollBar.grabber.

Note: To apply horizontal padding, modify the left/right content margins of ScrollBar.scroll instead.