Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Align tabs of Qt tabWidget vertical
Forum Updated to NodeBB v4.3 + New Features

Align tabs of Qt tabWidget vertical

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
7 Posts 2 Posters 4.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shree_121
    wrote on last edited by
    #1

    I build UI with tabs of tabWidget aligned in horizontal manner. is there any provision to align the same tabWidget in vertical manner?

    jsulmJ 1 Reply Last reply
    0
    • S shree_121

      I build UI with tabs of tabWidget aligned in horizontal manner. is there any provision to align the same tabWidget in vertical manner?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @shree_121 https://doc.qt.io/qt-5/qtabwidget.html#tabPosition-prop ?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      1
      • jsulmJ jsulm

        @shree_121 https://doc.qt.io/qt-5/qtabwidget.html#tabPosition-prop ?

        S Offline
        S Offline
        shree_121
        wrote on last edited by
        #3

        @jsulm I took tabWidget from design mode (not designed by programming )how can set tab position which i already build.

        jsulmJ 1 Reply Last reply
        0
        • S shree_121

          @jsulm I took tabWidget from design mode (not designed by programming )how can set tab position which i already build.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @shree_121 Well, in the same way: you go (in Designer) to QTabWidget properties, then tabPosition and change its value as you need...

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply
          1
          • jsulmJ jsulm

            @shree_121 Well, in the same way: you go (in Designer) to QTabWidget properties, then tabPosition and change its value as you need...

            S Offline
            S Offline
            shree_121
            wrote on last edited by
            #5

            @jsulm Thank you so much but one more issue that tabWidget is vertical but can I set tab text horizontal?

            jsulmJ 1 Reply Last reply
            0
            • S shree_121

              @jsulm Thank you so much but one more issue that tabWidget is vertical but can I set tab text horizontal?

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @shree_121 I don't think you can do that. But it would look strange and waste a lot of space. Why do you want to do it this way?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              S 1 Reply Last reply
              0
              • jsulmJ jsulm

                @shree_121 I don't think you can do that. But it would look strange and waste a lot of space. Why do you want to do it this way?

                S Offline
                S Offline
                shree_121
                wrote on last edited by
                #7

                @jsulm Actually i was thinking it will be more spacious for my project but now i think horizontal is good for me :-). thank you again.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved