I am currently working on a layout design for my QtTabWidget and need to move two specific tabs to the right while keeping the rest of them aligned to the left.
It's important to note that these tabs are static and not dynamically added during runtime.
Here is my current setup: https://i.sstatic.net/uErnj.png
And here is my desired layout: https://i.sstatic.net/GVGtu.png
I have tried utilizing CSS styling with alignment:right;
, but this resulted in all tabs moving to the right instead of just the ones I wanted. I also attempted using properties like float
and position:absolute;right:0;
, however, none of these solutions worked as expected.
My search through the Qt documentation did not yield any results that could help me achieve the desired tab positioning.
Therefore, my question remains: How can I specifically move the "Profile" and "Settings" tabs to the right while keeping the others in their original positions?