26 lines
1.0 KiB
XML
26 lines
1.0 KiB
XML
<!--
|
||
Example
|
||
<lv_label text="Hello"/>
|
||
-->
|
||
|
||
<widget>
|
||
<api>
|
||
<enumdef name="lv_label_long_mode" help="How to handle text that doesn’t fit">
|
||
<enum name="wrap" help="Wrap to next line"/>
|
||
<enum name="scroll" help="Scroll horizontally"/>
|
||
<enum name="scroll_circular" help="Scroll continuously in a loop"/>
|
||
<enum name="clip" help="Clip at the boundary"/>
|
||
<enum name="dots" help="Show dots (…) at the end"/>
|
||
</enumdef>
|
||
|
||
<prop name="text" type="string" help="Set label text"/>
|
||
<prop name="translation_tag" type="string" help="Set translation tag"/>
|
||
<prop name="long_mode" type="enum:lv_label_long_mode" help="Choose overflow mode"/>
|
||
|
||
<prop name="bind_text" help="Bind text to a subject">
|
||
<param name="bind_text" type="subject" help="Subject that provides text"/>
|
||
<param name="fmt" type="string" default="NULL" help="Format string for bound text (printf style)"/>
|
||
</prop>
|
||
</api>
|
||
</widget>
|