get Preferred Size
abstract fun getPreferredSize(uiPreferredWidth: Float, uiPreferredHeight: Float): Size
Content copied to clipboard
Returns the preferred size for the specified button dimensions.
Return
The preferred size for the specified dimensions.
Parameters
ui Preferred Width
Preferred width of the button under the regular conditions
(plain rectangular button).Content copied to clipboard
ui Preferred Height
Preferred width of the button under the regular conditions
(plain rectangular button).Content copied to clipboard