javafx 2 - Set BorderPane components size -


i want set size of center, top, left, right , bottom components of borderpane.

enter image description here

so far found this:

borderpane() mainpane = new borderpane(); mainpane.getbottom().prefwidth(sizex); 

for example how can size of left side of borderpane , set size?

the "left" of borderpane whatever set , it's size whatever set to.

example:

borderpane mainpane = new borderpane(); stackpane left = new stackpane(); left.setprefwidth(100); mainpane.setleft(left); 

Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -