options: word-wrap some labels

This commit is contained in:
Boris Faure 2020-05-19 23:56:06 +02:00
parent ec344090aa
commit 5cae99eee1
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
3 changed files with 6 additions and 1 deletions

View File

@ -691,6 +691,7 @@ options_background(Evas_Object *opbox, Evas_Object *term)
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.0);
elm_object_text_set(o, _("Click on a picture to use it as background"));
elm_label_line_wrap_set(o, ELM_WRAP_WORD);
elm_box_pack_end(bx_front, o);
evas_object_show(o);

View File

@ -495,6 +495,7 @@ options_behavior(Evas_Object *opbox, Evas_Object *term)
evas_object_size_hint_align_set(lbl, 0.0, 0.5);
elm_box_pack_before(bx, lbl, o);
elm_object_text_set(lbl, _("Audio Support for key presses <failure>DISABLED</failure>!"));
elm_label_line_wrap_set(lbl, ELM_WRAP_WORD);
evas_object_show(lbl);
}
CX(_("Visual Bell"), disable_visual_bell, 1);
@ -591,6 +592,7 @@ options_behavior(Evas_Object *opbox, Evas_Object *term)
evas_object_size_hint_align_set(o, 0.0, 0.5);
ctx->backlock_label = o;
_update_backlog_title(ctx);
elm_label_line_wrap_set(o, ELM_WRAP_WORD);
elm_box_pack_end(bx, o);
evas_object_show(o);
@ -625,6 +627,7 @@ options_behavior(Evas_Object *opbox, Evas_Object *term)
evas_object_size_hint_weight_set(o, 0.0, 0.0);
evas_object_size_hint_align_set(o, 0.0, 0.5);
elm_object_text_set(o, _("Tab zoom/switch animation time:"));
elm_label_line_wrap_set(o, ELM_WRAP_WORD);
tooltip = _("Set the time of the animation that<br>"
"takes places on tab switches,<br>"
"be them by key binding, mouse<br>"
@ -655,7 +658,6 @@ options_behavior(Evas_Object *opbox, Evas_Object *term)
o = elm_check_add(opbox);
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.5);
elm_object_text_set(o, _("Translucent"));
elm_object_text_set(o, _("Auto hide the mouse cursor when idle:"));
elm_check_state_set(o, config->hide_cursor < CONFIG_CURSOR_IDLE_TIMEOUT_MAX);
elm_box_pack_end(bx, o);

View File

@ -170,6 +170,7 @@ options_elm(Evas_Object *opbox, Evas_Object *_term EINA_UNUSED)
evas_object_size_hint_weight_set(lbl, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(lbl, 0.0, 0.0);
elm_object_text_set(lbl, _("Select prefered size so that this text is readable."));
elm_label_line_wrap_set(lbl, ELM_WRAP_WORD);
elm_box_pack_end(bx, lbl);
evas_object_show(lbl);
@ -177,6 +178,7 @@ options_elm(Evas_Object *opbox, Evas_Object *_term EINA_UNUSED)
evas_object_size_hint_weight_set(lbl, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(lbl, 0.0, 0.0);
elm_object_text_set(lbl, _("The scale configuration can also be changed through <hilight>elementary</hilight>'s configuration panel."));
elm_label_line_wrap_set(lbl, ELM_WRAP_WORD);
elm_box_pack_end(bx, lbl);
evas_object_show(lbl);
}