Important: Please read the Qt Code of Conduct -

How can divide QTabWidget into multiple lines?

  • Hi,

    I have an application in which there are many tabwidgets i.e more than the width of window. Now i want to display all tabwidgets in my window in multiple lines. How can i do that. Can any one suggest me(any Example)?
    Thanks in advance.

  • Luckely, Qt does not support that. It is generally considered one of the worst UI mistakes to have ever seen the light of day.

    ! tabs)!

    Read "this page": to further your understanding of why multi-line tabs are a Bad Idea(TM). In general: tabs just don't scale well. They are very useful for a limited number of pages, but beyond that, the usability starts to degrade very, very rapidly no matter what solution you come up with to cram more pages on it than will fit comfortably.

Log in to reply