I used QT designer to add toolbar into a QMainWindow.
and i found out that i cant change the initial position of a toolbar once i add it on to the top area. It will stay at where it was stacked and only changed the position if i add a toolbar break to it.

here is how it look like now:

but i want it to be like this:

the green one move to the next line. and the orange move to the right of the blue.

i cant seem to get it right in the QT designer.
do i have to do it in codes?
if so, can someone please provide the code?