Languages

Menu
Sites
Language
Change Popup Button Background Color

Is it possible to change the background colors of the buttons in a circular popup as described here?

Responses

1 Replies
woochan lee

You can change widget color like below.

 

btn = elm_button_add(popup);
elm_object_style_set(btn, "popup/circle/left");
evas_object_size_hint_weight_set(btn, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_object_part_content_set(popup, "button1", btn);
evas_object_smart_callback_add(btn, "clicked", _response_cb, popup);
elm_object_color_class_color_set(btn, "button/popup/circle/bg", 255, 0, 0, 50);