getPreferredSize

abstract fun getPreferredSize(command: Command, presentationModel: CommandButtonPresentationModel, preLayoutInfo: CommandButtonLayoutManager.CommandButtonPreLayoutInfo): Size

Returns the preferred size of a projected button for the specified parameters.