thumbSize

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the thumbSize of <scrollbar> to <number>
Associationsscrollbar
Summary

Specifies how large a scrollbar's draggable thumb is.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the thumbSize of scrollbar "Contents Group" to 500
set the thumbSize of scrollbar 1 to \
   (the height of group "Main"/the formattedHeight of group "Main")
Values
NameTypeDescription
Value

The number is a number between the scrollbar's startValue and endValue.

RelatedProperty: thumbPosition, endValue, formattedHeight, proportionalThumbs, startValue, formattedWidth
Glossary: scrollbar thumb, property
Object: scrollbar
Description

Use the thumbSize property to specify the size of a scrollbar's draggable thumb.

Normally, the thumbSize is proportional to the proportion of content visible on the screen. For example, if a third of the content can be seen and the rest is always scrolled off, the scrollbar thumb should cover a third of the scrollbar area, so the number should be one-third of the difference between the scrollbar's startValue and its endValue.

If the proportionalThumbs property is set to false, this property has no effect.

Tagsui