java - Why are layout parameters not supported in JavaFX CSS? -


i've been coding gui in javafx , have gotten styling css. however, came learn there no support setting layout parameters such min-width, pref-width, etc. (these show in docs filed under webview only.) instead of getting nicely sized textfield, have 1 that's spread across entire screen.

now know solution go hardcode these layout parameters in java (the documentation pointed me javafx script that's been dead since 2009), i'm wondering why have this? what's point? i'm not css pro, seems bad design abstract some of styling. it's in 2 places? there plans change this?

the feature request has been implemented in java 8.

see rt-20906 support setting min/pref/max sizes via css.

it argued layout , styling separate things , javafx has fxml declarative layout system, perhaps need layout parameters in css less if using scenebuilder , fxml layout (at least experience technology has lead me believe).


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -