Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-69653

QTabBar::scroller Qss style bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.12.0 Alpha
    • 5.9.6
    • Widgets: Style Sheets
    • None
    • Kubuntu 18.04 native and with cross compile Qt 5.9.6 for Raspbian (recent). I mean: This bug I observe on Kubuntu and on Raspbian. In both cases my app use XWindows. This bug can be clearly observe even in Qt Desinger.
    • Other
    • 9a3bdbf40af7e4915ed343c8e9917a0f3f54e0ae

      In the case I add to MainWindow style sheet some think like this:

       

      QTabBar::scroller{
      
      width: 30px;
      
      }
      

      Then I got only right-ward scroll button (left button dissapear). It cause this qss feature is useless. Due this bug I am forced to use default thin buttons in the touch screen device!!! Now our users are forced to use special "touch stick" instead just fingers. But in the future I want to set globally widgets scale (I heard it is possible in Qt) to avoid that...

      I attach screenshots and minimal working example to show this bug.

       

        1. QTabWidget scroll buttons bug.png
          278 kB
          Jacek Jaworski
        2. QTabWidget scroll buttons default (ok).png
          279 kB
          Jacek Jaworski
        3. QTabWidget.zip
          5 kB
          Jacek Jaworski
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            chehrlic Christian Ehrlicher
            j.jaworski Jacek Jaworski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes