Question
I frequently encounter difficulties when searching for specific information in Tizen's Native API documentation. For example, when trying to find all available text styling options for labels, I can't locate a comprehensive list.
A typical use case is:
elm_object_text_set(ad->label, "<align=center>Shake to roll</align>");
I'm looking for documentation that lists all possible styling options like:
<align>: Text alignment options (left, right, center, etc.)<font-size>: Available size values and any limitations- Other text formatting tags
I've checked:
- The
elm_object_text_setAPI reference (only shows basic function description) - The Label API reference (no styling information)
- Various forums and guides (no complete list found)
What is the proper way to find such detailed styling information in Tizen's documentation?
Answer
Problem Understanding
The user is struggling to find comprehensive documentation about text styling options in Tizen's Native API, particularly for label components. The issue stems from the layered architecture of Tizen's UI framework.
Solution Methods
-
Understand EFL Architecture: Tizen's UI system is built on the Enlightenment Foundation Libraries (EFL) architecture:
- Evas: Low-level graphics (textblocks, images)
- Edje: Layout system (builds on Evas)
- Elementary: Widget toolkit (uses Edje layouts)
-
Check Lower-Level APIs: For text styling, refer to:
-
Review Sample Code: Examine Tizen's sample applications and guides for practical implementations.
Code Examples
// Example of comprehensive text styling
elm_object_text_set(label,
"<align=center><font_size=30><color=#FF0000>Styled Text</color></font_size></align>");
Additional Tips
- When high-level API documentation is insufficient, investigate the underlying EFL components
- The Tizen developer guides often provide more practical examples than API references
- Some HTML-style tags work for text formatting, but not all