View attributes LrView control view properties
These properties are used by all control types.
Summary
Indicates whether the control should be enabled.
The font to be used for this control.
The size of text in this control (if not otherwise determined by the font specification) and of other visual features in non-text controls.
Properties
- enabled : (Read-Only)
-
Indicates whether the control should be enabled. (Boolean, default: true)
First supported in version 1.3 of the Lightroom SDK.
- font : (Read-Only)
-
The font to be used for this control. (string or table, default: nil) Can be a string with the name of a font, or one of these canonical name strings:
<system>
<system/small>
<system/bold>
<system/small/bold>
- name: (string) The font family name.
- size: (number) The size of text (if not otherwise determined by the font) and of other visual features in non-text controls. For example, affects the track and thumb size in a slider. On Mac, size can also be a string, one of:
regular
,small
,mini
.
First supported in version 1.3 of the Lightroom SDK.
- size : (Read-Only)
-
The size of text in this control (if not otherwise determined by the font specification) and of other visual features in non-text controls. For example, affects the track and thumb size in a slider. One of:
regular
,small
,mini
. (string, default: 'regular', inherited)First supported in version 1.3 of the Lightroom SDK.