Languages

Menu
Sites
Language
ITextEventListener and text size in ListView
Hello))
Please tell me how to work with ITextEventListener if I want to process text in Editarea, for example, I want that when the mouse cursor is processing the text. And is there any option to change the text size and color in the ListView and that he is there a standard size and color, as well as change, I can not find in the manual.
Thanx!:D

 

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

5 Replies
kimi
Hi Levan, Add TextEventListener to the EditArea control by using the method void AddTextEventListener (Tizen::Ui::ITextEventListener &listener) then in the method void OnTextValueChanged (const Tizen::Ui::Control &source) of ITextEventListener class, you can do the necessary modifications. As per the ListView modifications, you can set the required background color, text color, change text size while creating items of the List view. Kimi.
Levan Gogohia
I'm wondering how did the font and size of text on the following image: https://developer.tizen.org/help/topic/org.tizen.gettingstarted/html/images/settings_menu_language_setting.png Text Englisch (UK) of the blue color and the size of its smaller than the standard
kimi
To give an example : use a Label and use void Tizen::Ui::Controls::Label::SetTextConfig( int size, LabelTextStyle style ) method to obtain different size text. Kimi.
Levan Gogohia
and you can insert this control in the listview? through ContextItem ...
kimi
AFAIK through ContextItem it is not possible. Kimi.