Photoshop Scripting Reference
  • Photoshop Scripting Documentation
    • Core
    • Photoshop
    • Scriptui
      • Classes
        • Bounds
        • Button
        • Checkbox
        • Dimension
        • DrawState
        • DropDownList
        • EditText
        • Environment
        • Event
        • Events
        • FlashPlayer
        • Group
        • IconButton
        • KeyboardState
        • LayoutManager
        • ListBox
        • ListItem
        • Panel
        • Point
        • Progressbar
        • RadioButton
        • ScriptUI
        • ScriptUIBrush
        • ScriptUIFont
        • ScriptUIGraphics
        • ScriptUIImage
        • ScriptUIPath
        • ScriptUIPen
        • Scrollbar
        • Slider
        • StaticText
        • TreeView
        • UIEvent
        • Window
        • Module Index
  • Extension SDK Documentation (CEP)
  • Photoshop Scripting Reseources
Photoshop Scripting Reference
  • Docs »
  • Photoshop Scripting Documentation »
  • Scriptui »
  • DropDownList »
  • DropDownList.preferredSize
  • View page source

DropDownList.preferredSize¶

Dimension preferredSize

Description¶

The preferred size, used by layout managers to determine the best size for each element.

If not explicitly set by a script, value is established by the UI framework in which ScriptUI is employed, and is based on such attributes of the element as its text, font, font size, icon size, and other UI framework-specific attributes.A script can explicitly set this value before the layout manager is invoked in order to establish an element size other than the default.

Next Previous

© Copyright 2018, Brett Dixon.

Built with Sphinx using a theme provided by Read the Docs.