M
M
MechanicZelenyy2020-01-02 22:06:11
Java
MechanicZelenyy, 2020-01-02 22:06:11

How in JavaFX to make a vertical set of buttons the size of which is automatically set to the size of the largest button?

Actually there is a vertical set of buttons on which the text depends on the locale (that is, we consider the width of the button is unknown in advance and it is not known which button has the largest width).

How to make it so that their size is automatically set to the size of the largest button?

I tried to make the examples from the guide based on both TilePane and VBox, but either I'm stupid, or the skis don't go.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question