Adobe 65007312 Programming Guide - Page 88
Control type, Description, Type-specific properties, All text properties. See
UPC - 883919154398
View all Adobe 65007312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 88 highlights
CHAPTER 5: Creating a User Interface for Your Plug-in User interface elements 88 Control type slider static_text separator Description Type-specific properties A draggable "bug" that changes an associated numeric value. value: The current numeric value. min: The low end of the range. max: The high end of the range. integral: True to change only by integer increments. Default is false. Text that typically does not respond to user input, such as a label or instructions. Although the user cannot change the text, it can still be made dynamic by binding the title to a data value; see "Binding UI values to data values" on page 94. title: Display label. truncation: Where to truncate the text if needed, "head", "middle", or "tail". selectable: True to make text selectable (in Mac OS only). alignment: Text alignment, "left", "center", or "right". text_color: An LrColor object. Default is black. mouse_down: A function called in response to this event; takes one argument, the view object that was clicked. All text properties. See "Text view properties" on page 94. Draws a line across its container, but has no other behavior. The line is always 2 pixels in width, and is drawn either vertically or horizontally, depending on the fill value. If both values are set, the larger value determines the direction of the line. fill_horizontal: The width of the horizontal line, a percentage of the parent's width in the range [0..1]. fill_vertical: The height of the vertical line, a percentage of the parent's height in the range [0..1]. The following figures show examples of the various control and container types. The appearance is appropriate to the platform; these examples show some of each.