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

QSpinBox QDoubleSpinBox and style sheets margin shift background

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.6.2
    • Widgets: Style Sheets
    • None
    • Windows XP

    Description

      Hi,
      When I put a spinbox, apply the following style sheet :
      margin-top: 5px;

      I get that(see form-spinbox.png)

      First with margin 5px top,
      Second with margin 5px bottom
      third with margin 5px left
      fourth with margin 5px right

      this not affect QLineEdit or QWidget.
      it seems that a margin is applyed to the "background" ...the input value is not affected.

      the last show a bug in the down arrow background (sort of background-repeat)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            kytrix Kytrix
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes