QWidget with toolbar buttons navigae to next line on reduction of size
-
Guys i am trying to implement the QToobar inside the QWidget and it has so many icons on it, on reducing the window size i have to move some of the icons to next line those are not visible in first row.
Please help me with the approach that I need to proceed for this case
-
QToolBar does not support this. You can create more than one toolbar so you can move the second below the first.
-
I will create 3 toolbars! But how to make it to next row dynamically based on size?
-
@meganathan said in QWidget with toolbar buttons navigae to next line on reduction of size:
But how to make it to next row dynamically based on size?
You can't - the user can move toolbars around by himself like in any other application.
-
Any other approach how can i acheive this feature in my application!
-
Hi,
You could implement your own toolbar using the Flow Layout.
-
Thanks FlowLayout is perfect way for my implementation
-
Great ! Since that fixed your issue, please mark the thread as solved using the "Topic Tools" button or the three dotted menu beside the answer you deem correct so that other forum users may know a solution has been found :-)