Languages

Menu
Sites
Language
Change initial color scheme

What color classes should I override to have my own custom colors for all components?

 

I tried writing my own edc for button but I could not made the rect around text rounded. I leanrt about color clases so I thought I could override original ones to change buttons from being default blut to eg. red, but I don't know the names. Or maybe there is other way to accomplish it?

 

EDIT:

I tried setting the style to one pre made (according to https://developer.tizen.org/development/ui-practices/native-application/efl/ui-components/wearable-ui-components/button#styles )

    elm_object_style_set(button2, "green");

but the button did not change.

but 

    elm_object_style_set(button, "bottom");

worked, despite screen being rectangle - gear fit 2.

Edited by: Jakub Wiśniewski on 24 Jan, 2017

Responses

2 Replies
Shaswati Saha

You may follow this link 

Custom color classes are implemented in the code snippet of above link. I think it'll come to an use for you. Also have a look into this discussion for more details.

 

Jakub Wiśniewski

I have  seen those posts - but it's now quite what I had in mind. I created my own buttons edc files based on images as backgrounds so far.