javafx 2 - Set BorderPane components size -
i want set size of center, top, left, right , bottom components of borderpane.
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
Post a Comment