/
ScrollingFrame.yaml
356 lines (355 loc) · 10.7 KB
/
ScrollingFrame.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
name: ScrollingFrame
type: class
category: GUI
memory_category: Gui
summary: ''
description: |
The ScrollingFrame is a special `Class.Frame` that handles all scrolling for
you, with a range of different ways to customize how the scrolling works.
code_samples:
inherits:
- GuiObject
tags: []
deprecation_message: ''
properties:
- name: ScrollingFrame.AbsoluteCanvasSize
summary: |
The size in offsets of the area that is scrollable.
description: |
The size in offsets of the area that is scrollable. This property is set
to the maximum of the `Class.ScrollingFrame.CanvasSize|CanvasSize`
property and the size of the children if
`Class.ScrollingFrame.AutomaticCanvasSize|AutomaticCanvasSize` is set to
something other than `Enum.AutomaticSize.None`.
code_samples:
type: Vector2
tags:
- ReadOnly
- NotReplicated
deprecation_message: ''
security:
read: None
write: None
thread_safety: Unsafe
category: Scrolling
serialization:
can_load: false
can_save: true
- name: ScrollingFrame.AbsoluteWindowSize
summary: |
The size in offsets of the frame, without the scrollbars.
description: |
The size in offsets of the frame, without the scrollbars.
code_samples:
type: Vector2
tags:
- ReadOnly
- NotReplicated
deprecation_message: ''
security:
read: None
write: None
thread_safety: Unsafe
category: Scrolling
serialization:
can_load: false
can_save: true
- name: ScrollingFrame.AutomaticCanvasSize
summary: |
Determines whether `Class.ScrollingFrame.CanvasSize` is resized based on
child content.
description: |
This property is used to automatically size parent UI objects based on the
size of its descendants. Developers can use this property to dynamically
add text and other content to a UI object at edit or run time, and the
size will adjust to fit that content.
When this property is set to an `Enum.AutomaticSize` value other than
`Enum.AutomaticSize|None`,
`Class.ScrollingFrame.AbsoluteCanvasSize|AbsoluteCanvasSize` may resize
depending on its child content.
code_samples:
type: AutomaticSize
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.BottomImage
summary: |
The Down image on the vertical scrollbar. Size of this is always
ScrollBarThickness by ScrollBarThickness. This is also used as the image
on the horizontal scroll bar.
description: |
The Down image on the vertical scrollbar. Size of this is always
ScrollBarThickness by ScrollBarThickness. This is also used as the image
on the horizontal scroll bar.
code_samples:
type: Content
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.CanvasPosition
summary: |
The location within the canvas, in offsets, that should be drawn at the
top left of the scroll frame.
description: |
The location within the canvas, in offsets, that should be drawn at the
top left of the scroll frame
code_samples:
type: Vector2
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.CanvasSize
summary: |
Determines the size of the area that is scrollable. The UDim2 is
calculated using the parent gui's size, similar to the regular Size
property on gui objects.
description: |
Determines the size of the area that is scrollable. The UDim2 is
calculated using the parent gui's size, similar to the regular Size
property on gui objects.
code_samples:
type: UDim2
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.ElasticBehavior
summary: |
Determines when elastic scrolling is allowed.
description: |
This property determines if and when the `Class.ScrollingFrame` canvas is
elastic. Defaults to `Enum.ElasticBehavior|WhenScrollable`.
code_samples:
type: ElasticBehavior
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.HorizontalScrollBarInset
summary: |
Indicates the inset behavior of the horizontal scrolling bar.
description: |
Indicates the inset behavior of the horizontal scrolling bar.
code_samples:
type: ScrollBarInset
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.MidImage
summary: |
The middle image on the vertical scrollbar. The size of this can vary in
the y direction, but is always set as
`Class.ScrollingFrame.ScrollBarThickness` in the x direction. This is also
used as the middle image on the horizontal scroll bar.
description: |
The middle image on the vertical scrollbar. The size of this can vary in
the y direction, but is always set as
`Class.ScrollingFrame.ScrollBarThickness` in the x direction. This is also
used as the middle image on the horizontal scroll bar.
code_samples:
type: Content
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.ScrollBarImageColor3
summary: |
Determines how a rendered scroll bar image will be colorized.
description: |
Determines how a scrolling bar image is colorized. When set to white, no
colorization occurs. This property is very useful for reusing image
assets: If the source image is completely white with transparency, you can
set the entire color of the image at once with this property.
code_samples:
type: Color3
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.ScrollBarImageTransparency
summary: |
Determines the transparency of the rendered scroll bar image.
description: |
Determines the alpha of a scroll bar's rendered image. A value of 0 is
completely opaque, and a value of 1 is completely transparent (invisible).
This property behaves similarly to
`Class.GuiObject.BackgroundTransparency` or `Class.BasePart.Transparency`.
code_samples:
type: float
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.ScrollBarThickness
summary: |
How thick the scroll bar appears. This applies to both the horizontal and
vertical scroll bars. If set to 0, no scroll bars are rendered.
description: |
How thick the scroll bar appears. This applies to both the horizontal and
vertical scroll bars. If set to 0, no scroll bars are rendered.
code_samples:
type: int
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.ScrollingDirection
summary: |
Determines the direction scrolling is allowed in this scrolling frame.
description: |
This property determines the direction scrolling is allowed. If scrolling
is disallowed in a direction, the scrollbar will not appear. Defaults to
`Enum.ScrollingDirection|XY`.
code_samples:
type: ScrollingDirection
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.ScrollingEnabled
summary: |
Determines whether or not scrolling is allowed on the frame. If false, no
scroll bars will be rendered.
description: |
Determines whether or not scrolling is allowed on the frame. If false, no
scroll bars will be rendered.
code_samples:
type: bool
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.TopImage
summary: |
The Up image on the vertical scrollbar. The size of this is always
ScrollBarThickness by ScrollBarThickness. This is also used as the left
image on the horizontal scroll bar.
description: |
The Up image on the vertical scrollbar. The size of this is always
ScrollBarThickness by ScrollBarThickness. This is also used as the left
image on the horizontal scroll bar.
code_samples:
type: Content
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.VerticalScrollBarInset
summary: |
Indicates the inset behavior of the vertical scrolling bar.
description: |
Indicates the inset behavior of the vertical scrolling bar.
code_samples:
type: ScrollBarInset
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
- name: ScrollingFrame.VerticalScrollBarPosition
summary: |
Indicates the side that the vertical scrollbar will be located at.
description: |
Indicates the side that the vertical scrollbar will be located at.
code_samples:
type: VerticalScrollBarPosition
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Scrolling
serialization:
can_load: true
can_save: true
methods: []
events: []
callbacks: []