언어 설정

Menu
Sites
Language
Change scrollbar color

My native app uses a genlist, and the vertical scrollbar is the default blue color.  I want to make it red.

I see some Samsung apps have done this, but I can't figure out how.  Can someone show how to change the scrollbar color (on a genlist, or everywhere)

Edited by: Michelle Dupuis on 21 8월, 2019

Responses

2 댓글
rosol

You must list all color classes used by application:

Eina_List *list = edje_color_class_list();
Eina_List *l;
void *data;

EINA_LIST_FOREACH(list, l, data)
{
yourLog("class name = " << static_cast<char*>(data));
}

and then try to find one responsible form scrollbar color and change it using:

edje_color_class_set("T191", 254, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0);

 

Michelle Dupuis

Hi Rosol,

I tried your code but 

edje_color_class_list();

Always returns null.  My C app did not set any color classes, I assumed that the default scrollbar has a color class set by something outside my code?  Not sure why this doesn't work

Thanks