Relative Content

Tag Archive for javabuttonjavafxtextfieldgridpane

Is there a way to seperate the formatting of an object (spacing, padding, etc.) from others within a grid pane in javafx

So i’m recreating the structure of a calculator on javafx. Not for the functionality, but only for the looks. I have created the buttons and set the gaps between them to be 16, horizontally and vertically. However, when I had a text field object to display the numbers/results (again not for functionality, but for display), the buttons are affected by the size of the text field object. Therefore, the first row where I placed the text field object has a huge gap.