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

Style sheet not working for Android

XMLWordPrintable

    • Android

      The style sheet I have been using for BB10 and linux desktop does not work with Android.
      I input the style code into the style sheet control in the ui editor for the QTabWidget style sheet.
      The result is the spinboxes do not appear and the tabs on the tabwidget are squished and unusable.
      Here is the style code:
      QDoubleSpinBox

      { height:6ex; }

      QDoubleSpinBox::up-button

      { width: 6ex; background-color: "light grey"; image: url(:/prefix1/images/upArrow.svg); }

      QDoubleSpinBox::down-button

      { width: 6ex; background-color: "light grey"; image: url(:/prefix1/images/downArrow.svg); }

      QTabBar QToolButton

      { border-width: 5px; padding:6px }

      QTabBar QToolButton::right-arrow

      { image: url(:/prefix1/images/rightArrowG.svg); background-color: "light gray"; }

      QTabBar QToolButton::left-arrow

      { image: url(:/prefix1/images/leftArrowG.svg); background-color: "light gray"; }

      QTabBar::tab

      { height: 6ex; border: 2px solid #C4C4C3; border-bottom-color: #C2C7CB; /* same as the pane color */ border-top-left-radius: 4px; border-top-right-radius: 4px; min-width: 8ex; padding: 2px; }

      QTabBar::scroller

      { width: 7ex; border-width: 6ex; }

      QTabBar::tab:selected, QTabBar::tab:hover

      { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #fafafa, stop: 0.4 #f4f4f4, stop: 0.5 #e7e7e7, stop: 1.0 #fafafa); }

      QTabBar::tab:selected

      { border-color: #9B9B9B; border-bottom-color: #C2C7CB; /* same as pane color */ }

        1. droidTest.zip
          9 kB
          Jon Heron
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            lukasz.kosiorowski lukasz.kosiorowski
            jheron Jon Heron
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes