Hi,
I want to customize the EFL entry widget's style, such as the border, background color.
I am try to do this in .edc file, as below:
part {
name: "id_entry";
type: SWALLOW;
scale: 1;
description {
state: "default" 0.0;
rel1 { relative: 1.0 0.0; to: "id_label"; offset: 20 0; }
rel2 { relative: 3.0 1.0; to: "id_label"; offset: 20 0; }
color: 173 170 165 255;
}
}
entry = elm_entry_add(parent);
elm_entry_scrollable_set(entry, EINA_TRUE);
eext_entry_selection_back_event_allow_set(entry, EINA_TRUE);
evas_object_size_hint_weight_set(entry, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(entry, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_smart_callback_add(entry, "changed", entry_changed_cb, NULL);
elm_object_part_content_set(layout, "id_entry", entry);
Seems this color setting is for the text but not the backgroud. Also, I want to set its border width and color, how to do it?