Closed alansun2 closed 1 year ago
Hi. I don't know what you need exactly, but I'm using the setSize()
method to change the toggle button scale. The default size is 10.
JFXToggleButton activeToggleButton = new JFXToggleButton();
activeToggleButton.setSize(5);
Example in OwlPlug app:
@DropSnorz thanks a lot for answer, in fact I just want to change JFXToggleButton's padding. Now I set the padding = -10.
How can I change the height to 10 of JFXToggleButton?