How to use leftCorner/rightCorner in TabViewStyle in QML
I am using Qt 5.1 - QML desktop components. For TabView, I want to have my tabs aligned right but the tabbar should start after a button at top-right corner. I am able to align tabs right using:
@ tabsAlignment: Qt.AlignRight@
However, I am not able to place a button at right corner. Tried this but didn't work.:
@ padding.right: 60 @
I saw that in TabViewStyle, we have rightCorner which is set to null. I tried to put in it rectangle or my own custiom button but it didn't appear:
Please help on using rightCorner or solving this problem. Thanks!