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

QSpinBox should use Qt::darkGray to paint the foreground when disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.8.x
    • 4.7.1
    • None
    • OSX

      if a QSpinBox is disabled the foreground is currently black, not dark gray, as one would expect. This can easily be worked around like so:

      QPalette pal = spinbox->palette();
      pal.setColor(QPalette::Disabled, QPalette::Text, Qt::darkGray);
      spinbox->setPalette(pal);

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

            richard Richard Moe Gustavsen
            wstokes Will Stokes
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes