I am working on a MigLayout form with three columns and four rows, for example:
"wrap 3", "[15%] 15px [45%] 15px [40%]", "20 [] 15 [] 15 [grow,fill] 15 []"
Now my goal is to do this:
.------------------------------------. | 15% | 45% | 40% | |------------------------------------| | | | | |------------------------------------| | | | | |------------------------------------| | button,button | `------------------------------------ยด
I want the buttons on the last row to be centered, so I suggested that it first requires me to span 3 columns of the 4th row into one with the restriction of the "span 3, center" component on the button.
This works well with only one button, but I am having trouble figuring out how to add a second button while keeping both buttons with the same line at the same time. If I add the same restrictions to the second button, it looks perfectly centered below the first button on the next line.
source share