FileChooserButton.getWidthChars

int getWidthChars()

Retrieves the width in characters of the button widget’s entry and/or label.

Returns

an integer width (in characters) that the button will use to size itself.