Do not panic. Ask here before giving up.
Hello, I need to change the color of the text associated to a Button. I cannot find a simple way to do it. Is it supposed to use Chameleon for this task? Thanks, Luigi
Hello Forlano, I think there IS a dedicated method for text color (i can't check right now). But you Can Always use QTF text to display whatever you wan't) All you have to do IS start you're text with thé QTF escape sequence: "\1". (I'm not dure if it's thé right séquence)
Didier wrote on Thu, 25 July 2024 11:08 Hello Forlano, All you have to do IS start you're text with thé QTF escape sequence: "\1". (I'm not dure if it's thé right séquence) Thank you. It works. This set a centered red label l = "\1[@6= " << label << "]"; btn.SetLabel(l); Luigi