Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to use shader to set text color for maximum contrast on background color?
QtWS25 Last Chance

How to use shader to set text color for maximum contrast on background color?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 215 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    huangbinbin
    wrote on last edited by
    #1

    Re: Best way to set text color for maximum contrast on background color?

    how to use shader do this, my Text control overlay on a video, i want to let it auto adjust it's color

    JoeCFDJ 1 Reply Last reply
    0
    • H huangbinbin

      Re: Best way to set text color for maximum contrast on background color?

      how to use shader do this, my Text control overlay on a video, i want to let it auto adjust it's color

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      @huangbinbin how is Text control created? With what widget or qml item? Can not you simply set its background to be transparent?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved