summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/elementary/test_canvas_textblock.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/elementary/test_canvas_textblock.c b/src/bin/elementary/test_canvas_textblock.c
index 1c20ac5f09..92d2fb0a4f 100644
--- a/src/bin/elementary/test_canvas_textblock.c
+++ b/src/bin/elementary/test_canvas_textblock.c
@@ -34,12 +34,17 @@ test_canvas_textblock(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
34 34
35 efl_add(EFL_UI_TEXTBOX_CLASS, box, 35 efl_add(EFL_UI_TEXTBOX_CLASS, box,
36 efl_gfx_hint_weight_set(efl_added, 1, 0), 36 efl_gfx_hint_weight_set(efl_added, 1, 0),
37 efl_text_interactive_selection_allowed_set(efl_added, EINA_FALSE),
38 efl_text_interactive_editable_set(efl_added, EINA_FALSE),
37 efl_text_set(efl_added, "Live style editor. Enter a style string below:"), 39 efl_text_set(efl_added, "Live style editor. Enter a style string below:"),
38 efl_pack(box, efl_added)); 40 efl_pack(box, efl_added));
39 41
40 input = efl_add(EFL_UI_TEXTBOX_CLASS, box, 42 input = efl_add(EFL_UI_TEXTBOX_CLASS, box,
41 efl_gfx_hint_weight_set(efl_added, 1, 0), 43 efl_gfx_hint_weight_set(efl_added, 1, 0),
42 efl_text_set(efl_added, "font=Sans font_size=24 color=white"), 44 efl_text_set(efl_added, "font=Sans font_size=24 color=white"),
45 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 48)),
46 efl_text_multiline_set(efl_added, EINA_TRUE),
47 efl_text_wrap_set(efl_added, EFL_TEXT_FORMAT_WRAP_WORD),
43 efl_pack(box, efl_added)); 48 efl_pack(box, efl_added));
44 efl_ui_textbox_scrollable_set(input, EINA_TRUE); 49 efl_ui_textbox_scrollable_set(input, EINA_TRUE);
45 50