How to you set panel color in the designer?

hackhack

Active Member
Licensed User
Longtime User
I was editing a panel in the designer.

I notice under panel properties/color
that color is set to "255,250,240"

I changed that, but now I can't see how I changed that in the first place? It seems I can only pick named colors from the list, not enter RGB values?

(I imagine i can set it from the app at run time, but I'm asking about the function of the designer)

Oh and, I can set the color for the background, but where do I set the color for the text?
 
Last edited:

hackhack

Active Member
Licensed User
Longtime User
You can only enter numbers when the Drawable property is set to GradientDrawable.

Why?


Panels do not show text.

I know, I had switched topic, but was too tired to actually write that :sign0161:

It was for listviews - you can change the background color of the listview, but apparently not the color of the text?
 
Upvote 0

devjet

Member
Licensed User
Longtime User
hackhack,
is this what you are looking for?

lvlistings.SingleLineLayout.Label.TextColor = Colors.white
 
Upvote 0

hackhack

Active Member
Licensed User
Longtime User
Ah yes, thanks devjet - I thought there would just be one overall color, so I overlooked that
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…