View attributes LrView text properties
These properties are used by controls with editable or static text:
edit_fieldcombo_boxpassword_fieldpopup_menustatic_textpush_button
Summary
Calculates the minimum height using this as the number of lines that should fit.
Calculates the minimum width using this as the number of m characters that should fit.
Calculates the minimum width using this as the number of 0 digits that should fit.
Properties
- height_in_lines : (Read-Only)
-
Calculates the minimum height using this as the number of lines that should fit. If
height_in_linesis set to -1, andwidthorwidth_in_digitsorwidth_in_charsis specified, text wraps. (number, default: 1)First supported in version 1.3 of the Lightroom SDK.
- width_in_chars : (Read-Only)
-
Calculates the minimum width using this as the number of m characters that should fit. Considered together with
width_in_digits. Ifheight_in_linesis set to -1, andwidthorwidth_in_digitsorwidth_in_charsis specified, text wraps. (number, default: 15)First supported in version 1.3 of the Lightroom SDK.
- width_in_digits : (Read-Only)
-
Calculates the minimum width using this as the number of 0 digits that should fit. Considered together with
width_in_chars. Ifheight_in_linesis set to -1, andwidthorwidth_in_digitsorwidth_in_charsis specified, text wraps. (number, default: 0)First supported in version 1.3 of the Lightroom SDK.