Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

TabBar : Modify the TabButton Mouse Area



  • Hi!

    I'm trying to implement a TabBar containing multiple TabButton. I want to resize the buttons to be circle and therefore, resize the mouse area on which the user clicks to switch tabs to fit my circles.

    For now, I create an empty MouseArea that fills the original TabButton rectangular form, and then a create an another MouseArea that triggers the tab switch when the user is clicking on it.

    How can I access the default MouseArea settings to resize it?

    Thanks


Log in to reply