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

QML StyledText linkColor doesn't update changed color

    XMLWordPrintable

Details

    • I056811053e2287c93ba9c0afb5ceddef939f46ce

    Description

      Quick Text item linkColor works only when initializing the component. After update it doesn't change the color even onLinkColorChanged is triggered.

          Text{
              id: text
              text: "<a href=\"file://\">StyledText link red to green</a>."
              textFormat: Text.StyledText
              linkColor: "red"
              onLinkActivated: {
                  text.linkColor = "green"
              }
              onLinkColorChanged: console.log("link color changed " + text.linkColor)
          }
      

      Attachments

        For Gerrit Dashboard: QTBUG-45356
        # Subject Branch Project Status CR V

        Activity

          People

            markan Marko Kangas
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes