How can I reorder tabs?
How can I reorder tabs?
Hi, I am trying to implement an UI which consists of tabs. I got the
tabs working just fine. I was able to add and remove a tab. However,
I also wanted to be able to move a tab left or right. I used the swap
function to swap two tabs, meaning the swap function swapped the
current selected tab with the tab on its right or left depending on
what button I clicked on. It didn't work properly. I have been
searching for some info about reordering tabs, but it seemed that
there was not this kind of info. I would like to know if anyone knows
how to do that. If possible, please give me some examples. Thanks a
lot.