You can use the grid layout manager to place components in a single row or
column. All you need to do is to use arguments of 0
and 1
. If
you use 1
as the first argument, you get a row:
And if you use 1
as the second argument, you get a column: