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

Setting property of widgets can not repaint immediately

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8
    • Widgets: Style Sheets
    • None
    • msvc2022_x64 Windows 11
    • Windows

    Description

      Setting property of widgets can not repaint immediately.

              pLabel->setProperty("Pressed","0");
              //pLabel->setStyleSheet("");// work
              //pLabel->repaint();// not work
      

      After adding setStyleSheet(""). It can be worked normally.

      Attachments

        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
            442 ruilin wen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes