Zachary
Zachary

Reputation: 323

Can HBox "hgrow" be handled via CSS?

I have a bunch of buttons within an HBox and would like all of them to have hgrow set to always. Currently, I am setting the max width of these buttons to infinity via CSS, and adding hgrow to each button in fxml via HBox.hgrow="ALWAYS"

Is there a way to handle the hgrow in css? If not, is there another way to achieve the same effect via css?

Upvotes: 1

Views: 1346

Answers (1)

SilverMonkey
SilverMonkey

Reputation: 1003

As you can see here, there is no way of controlling the hgrow of a HBox via css.

Upvotes: 1

Related Questions