Languages

Menu
Sites
Language
How to customize built-in themes

I've got a native Tizen 2.3 mobile project where I use a genlist to display a few list items using the built-in "2line.top" genlist item theme. That theme however has got an issue that I'd like to fix by customizing the theme, based on the "2line.top" theme. The problem basically is that by setting "elm.text.main.left.top" part using a long string, the top line will slightly overlap with the bottom line ("elm.text.sub.left.bottom"). For my long string I use the <wrap=word> and <ellipsis=-1.0> tags. The first line is properly wrapped into two lines, but somehow the weight settings cause the top two lines and bottom line to overlap by a few pixels.  I suppose it would be an easy fix to change the weight settings for the lines of the "2line.top" theme.  However, I cannot find the base theme settings for the "2line.top" theme.  I suppose it would be stored in an .edc file, but where can I find that file, or any other built-in Tizen genlist item themes, like "1line", "multiline_sub" and "groupindex" ?

Thank you for your time.

Regards,
Tamas

Responses

3 Replies
colin Rao

f.y.i.

https://developer.tizen.org/documentation/guides/native-application/ui/ui-control/widget-preferences#customize

 

Tamas Miklos

Thank you for your quick reply. I've seen that page, but that doesn't seem to document the "2line.top" theme which I would like to use as a base.  I need to know how exactly "2line.top" is constructed, since only that way I can find out what part of it causes the line overlap issue, and then change that part to fix it up for my purpose.  I would hate to cry wolf and say that the "2line.top" theme has apparent bugs, but it looks a bit like so :)  But it would be fine for me to implement a workaround in my app to overcome the issue.

jian chen

I want to find the default .edc file too ,but no one answer it ~~