Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. The toolbutton overlap with the tab in QTabBar.
Forum Updated to NodeBB v4.3 + New Features

The toolbutton overlap with the tab in QTabBar.

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 3 Posters 1.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.
  • LimerL Offline
    LimerL Offline
    Limer
    wrote on last edited by Limer
    #1

    0_1543118816552_Inked090e4a09-6b10-4a06-a542-bcbca86a7680_LI.jpg

    0_1543118821587_Inkedef8d7c61-5289-471d-946d-dc76774722ad_LI.jpg

    QTabBar QToolButton
    {
        border: none;
    }
    
    QTabBar QToolButton::left-arrow
    {
        image: url(:/images/left_arrow_normal.svg);
        background-color: rgb(228, 229, 231);
        border-left: 1px solid rgb(179, 179, 179);
    }
    
    QTabBar QToolButton::right-arrow
    {
        image: url(:/images/right_arrow_normal.svg);
        background-color: rgb(228, 229, 231);
    }
    

    The upper one is vmware workstation, the nether one is my software.

    Just focus on the two toolbuttons in the tabbar, we can get that the toolbuttons in my software overlaps with the tab, but vmware workstation don't (no overlap, it looks very clear).

    I thinked it for a long time, but i can't find a good solution to implement the no-overlap toolbuttons .

    Can someone give me any advice?

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Images confused me. Can you show your sample program on how you are using the tabBar & scrollBar ? What is the use case you get the issue. Better you post the separate image in pasteBin and provide link here.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      LimerL 1 Reply Last reply
      0
      • dheerendraD dheerendra

        Images confused me. Can you show your sample program on how you are using the tabBar & scrollBar ? What is the use case you get the issue. Better you post the separate image in pasteBin and provide link here.

        LimerL Offline
        LimerL Offline
        Limer
        wrote on last edited by
        #3

        @dheerendra Yes, i update them.

        1 Reply Last reply
        0
        • dheerendraD Offline
          dheerendraD Offline
          dheerendra
          Qt Champions 2022
          wrote on last edited by
          #4

          Can you give sample of your program which is using the QTabbar ? How scroll bar is related here ? Are you adding any ScrollBar on your own ?

          Dheerendra
          @Community Service
          Certified Qt Specialist
          http://www.pthinks.com

          LimerL 1 Reply Last reply
          0
          • dheerendraD dheerendra

            Can you give sample of your program which is using the QTabbar ? How scroll bar is related here ? Are you adding any ScrollBar on your own ?

            LimerL Offline
            LimerL Offline
            Limer
            wrote on last edited by
            #5

            @dheerendra Sorry, maybe i misunderstand the scroller. What actually i mean is the toobuttons in tabbar, i mark them in the upper pics.

            1 Reply Last reply
            0
            • dheerendraD Offline
              dheerendraD Offline
              dheerendra
              Qt Champions 2022
              wrote on last edited by
              #6

              This seems to be bug. It is not fixed also.

              Dheerendra
              @Community Service
              Certified Qt Specialist
              http://www.pthinks.com

              1 Reply Last reply
              2
              • Christian EhrlicherC Offline
                Christian EhrlicherC Offline
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Does this only apply to MacOS? If not I would take a look on it.

                Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                Visit the Qt Academy at https://academy.qt.io/catalog

                LimerL 1 Reply Last reply
                0
                • Christian EhrlicherC Christian Ehrlicher

                  Does this only apply to MacOS? If not I would take a look on it.

                  LimerL Offline
                  LimerL Offline
                  Limer
                  wrote on last edited by Limer
                  #8

                  @Christian-Ehrlicher My platform is Windows 10.

                  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