Re: [Interest] QML Text with adaptive color

2025-01-26 Thread Alexander Dyagilev
Hi Mike, I got your idea. Thank you very much. :) On Mon, Jan 27, 2025 at 9:12 AM Mike Trahearn < miketrahe...@codeceptsoftware.com> wrote: > Hi Alexander, > > Yes, it is possible, with a simple implementation as follows: > > You simply need two Text boxes. > > Rectangle { > id: progressBar > >

[Interest] QML Text with adaptive color

2025-01-26 Thread Alexander Dyagilev
Hello, Is it possible to achieve something like this in QML? [image: 7c51c428-735a-476d-95b0-da06e90f28d3.png] I would like to draw a text on a non-solid background. E.g. some areas can be black, some can be white, red, etc. Text should automatically change its color so it stays visible and read