[Tizen Application-dev] Border for Elementary Entry Widget - Not working on Tizen

Carsten Haitzler (The Rasterman) tizen at rasterman.com
Thu Mar 28 09:54:39 GMT 2013

On Fri, 22 Feb 2013 22:02:51 +0530 Amit S <amit at smargav.com> said:

this is simply a system styling choice. scrollable regions have no bordering in
tizen. entry ones included. this is a consistent system-wide choice and all
entries do the same thing with the same theme/style (default one). you can add
your own styles if you want and use elm theme extensions to add them (just add
an edj file path which contains a new style for an entry scroller).

> Hi,
> I want to have a border around the Entry widget in Elementary. I am writing
> a simple Elementary based native Tizen application.
> Please help.
> I was able to get border for Entry box by adding a scroller as described in
> this mail
> http://sourceforge.net/mailarchive/forum.php?thread_name=CAKco4M5GgRPx-2JJ6U7vROT1-_VgQkeDkLrndmxCou42CG2HHw%40mail.gmail.com&forum_name=enlightenment-users
> The border is visible when I compile & run the simple elementary
> application in Linux.
> However when I port the same app on Tizen, the Entry box is without border.
> No scroller is seen.
> Note: I am using a Entry box on a Popup. I tried changing popup color.
> Still the entry box is without border.
> Please advice.
> *Code Snippet below:*
> Evas_Object* entryTextBox = elm_entry_add (boxLayout);
> elm_entry_scrollable_set(entryTextBox,EINA_TRUE);
> elm_entry_single_line_set(entryTextBox, EINA_TRUE);
> evas_object_size_hint_align_set(entryTextBox, EVAS_HINT_FILL,
> evas_object_size_hint_weight_set(entryTextBox, EVAS_HINT_EXPAND,
> //I used below function to set background color and it worked on Linux but
> not on Tizen.
> //evas_object_color_set(entryTextBox, 10, 100, 10, 255);
>  elm_entry_text_style_user_push(entryTextBox, "DEFAULT='font_size=40
> color=#000000'");
>  evas_object_show(entryTextBox);
> Regards,
> Amit S

Carsten Haitzler (The Rasterman) <tizen at rasterman.com>

More information about the Application-dev mailing list