Add SCROLL_MODE_RESERVE to ScrollContainer
This commit is contained in:
parent
83d54ab2ad
commit
b36bebc6da
3 changed files with 28 additions and 11 deletions
|
|
@ -102,6 +102,9 @@
|
|||
<constant name="SCROLL_MODE_SHOW_NEVER" value="3" enum="ScrollMode">
|
||||
Scrolling enabled, scrollbar will be hidden.
|
||||
</constant>
|
||||
<constant name="SCROLL_MODE_RESERVE" value="4" enum="ScrollMode">
|
||||
Combines [constant SCROLL_MODE_AUTO] and [constant SCROLL_MODE_SHOW_ALWAYS]. The scrollbar is only visible if necessary, but the content size is adjusted as if it was always visible. It's useful for ensuring that content size stays the same regardless if the scrollbar is visible.
|
||||
</constant>
|
||||
</constants>
|
||||
<theme_items>
|
||||
<theme_item name="panel" data_type="style" type="StyleBox">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue