I want to take a text box to take the whole space of a gridpane but I don't want to hardcode the size. I am swt programmer where I used to pass swt.fill,swt.fill
to take the vertical and horizontal space. And upon resizing the window the textbox used to expand vertically and horizontally. Can I achieve this using javafx. Thanks in advance
To do that you have to set, the row span and the column span. for example if you have 4 column in your gridpane and you want a textfield who have the size of the 4 column you need to set the column span to REMAINING. And your field will take all the column
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.