Command Button Layout Info
fun CommandButtonLayoutInfo(fullSize: Size, actionClickArea: Rect, popupClickArea: Rect, separatorArea: Rect, iconRect: Rect, textLayoutInfoList: List<CommandButtonLayoutManager.TextLayoutInfo>, extraTextLayoutInfoList: List<CommandButtonLayoutManager.TextLayoutInfo>, popupActionRect: Rect)
Content copied to clipboard
Parameters
action Click Area
The action area. A mouse click in this area will trigger the action lambda set as Command.action.
popup Click Area
The popup area. A mouse click in this area will show the popup content associated with the command button.
separator Area
The separator area. If it's not empty, the command button will show a separator between .actionClickArea and .popupClickArea on mouse rollover.
icon Rect
Rectangle for the command button icon.
text Layout Info List
Layout information for the command button text (that can span multiple lines).
extra Text Layout Info List
Layout information for the command button extra text (that can span multiple lines).
popup Action Rect
Rectangle for the icon associated with the .popupClickArea. This icon is an arrow indicating that the command button has a popup area.