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

QLineEdit background color weird behavior

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 5.5.0
    • Widgets: Style Sheets
    • None
    • Windows 10

          QLineEdit l;
          l.setFixedSize(400,200);
          l.setStyleSheet("QLineEdit {background:#000;}");
          l.show();
      

      Just simple code to reproduce the bug.
      The lineeditor changes color when mouse hover the widget.
      It works fine with windows xp sp3, but failed in win10.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            photonlili Li Xu
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes