scrollbarWidth | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | field, group | ||||||
Summary | Specifies the width of the scrollbar associated with a scrolling field or group. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: field, integer Property: hScrollbar, style, vScroll, width, vScrollbar Command: group Object: field Glossary: object, property, Unix, Windows, Mac OS, group | ||||||
Description | Use the scrollbarWidth property to specify how much of a scrolling field's or group's width is taken up by the vertical scrollbar. Setting a field's or group's vScrollbar or hScrollbar property to true changes its scrollbarWidth to 16 on Mac OS systems, and to 20 on Unix and Windows systems. If a field's vScrollbar is false and its style is not scrolling, its scrollbarWidth property has no effect. If a group's vScrollbar is false, its scrollbarWidth has no effect. *Cross-platform note:* On Mac OS systems with the native theme enabled, scrollbars can only be rendered at certain widths and will be padded with the background color to achieve the chosen width. | ||||||
Tags | ui |