javafx 8 - GridPane Ignoring TextField.setPrefColumnCount -
i'm attempting use textfield.setprefcolumncount() give me different sized text fields within gridpane. gridpane sizing of fields longest field. doing wrong here, or need explicitly set maximum size of fields preferred size fields? public class testproject extends application { @override public void start(stage primarystage) { borderpane base = new borderpane(); gridpane inner = new gridpane(); inner.sethgap(4); inner.setvgap(4); inner.setpadding(new insets(8)); inner.setmaxwidth(double.max_value); inner.setgridlinesvisible(true); inner.setstyle("-fx-border-color:red"); label la = new label("label a"); label lb = new label("label b"); label lc = new label("label c"); textfield ta = new textfield(); ta.setprefcolumncount(30); textfield tb = new textfield(); tb.setprefcolumncount(15); textfield tc =...