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

QSpinBox buttons styling broken

    XMLWordPrintable

Details

    Description

      As soon as QSpinBox/QDoubleSpinBox is styled with custom borders, its buttons (up and down arrows) gets a 1px blank margin between the borders of QSpinBox and the borders of up/down buttons. No way to remove this margin, even by forcing spacing/margin/padding to 0 to all elements and sub-elements.

      This kind of stylesheets create the inner margin problem:

      QSpinBox, QDoubleSpinBox {
      font-size: 9px;
      border: 1px solid rgba(0,0,0,30);
      }

      Attachments

        1. doublespinbox.png
          1 kB
          Balazs Domjan
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            divide Robin Lobel
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes