Hi folks,
I just want to change the color of a label during run. Label is defined as Colordrawable (I like those rounded corners), visible.true, enabled.true.
I set the lables alphavalue to 255
Problem is following:
Case 1:
Mylabel.Color = 200
creates no visible label
Case 2:
Mylabel.color colors.white
this runs, the label gets white backgrund but the rounded corners are gone. And the subset of colors I can use is only a subrange of the colors I can choose in designer. Putting the value into designer directly works also.
What the heck is going on here? Is there something in my general settings I have to change somehow? Searched the forum, found nothing close to my problem.
Any hints?
I just want to change the color of a label during run. Label is defined as Colordrawable (I like those rounded corners), visible.true, enabled.true.
I set the lables alphavalue to 255
Problem is following:
Case 1:
Mylabel.Color = 200
creates no visible label
Case 2:
Mylabel.color colors.white
this runs, the label gets white backgrund but the rounded corners are gone. And the subset of colors I can use is only a subrange of the colors I can choose in designer. Putting the value into designer directly works also.
What the heck is going on here? Is there something in my general settings I have to change somehow? Searched the forum, found nothing close to my problem.
Any hints?