shorten labels for options so options fit in default term size.
This commit is contained in:
parent
455d3f2147
commit
b5a0abc3a7
|
@ -268,7 +268,7 @@ options_behavior(Evas_Object *opbox, Evas_Object *term)
|
|||
o = elm_check_add(bx);
|
||||
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, "Always open terminology in custom geometry (default is 80x24):");
|
||||
elm_object_text_set(o, "Always open at size:");
|
||||
elm_check_state_set(o, config->custom_geometry);
|
||||
elm_box_pack_end(bx, o);
|
||||
evas_object_show(o);
|
||||
|
@ -286,10 +286,8 @@ options_behavior(Evas_Object *opbox, Evas_Object *term)
|
|||
elm_spinner_min_max_set(o, 2.0, 350.0);
|
||||
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
|
||||
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.5);
|
||||
if (config->custom_geometry)
|
||||
elm_spinner_value_set(o, (double) config->cg_width);
|
||||
else
|
||||
elm_spinner_value_set(o, (double) w);
|
||||
if (config->custom_geometry) elm_spinner_value_set(o, config->cg_width);
|
||||
else elm_spinner_value_set(o, w);
|
||||
elm_object_disabled_set(o, !config->custom_geometry);
|
||||
elm_box_pack_end(bx, o);
|
||||
evas_object_show(o);
|
||||
|
@ -307,10 +305,8 @@ options_behavior(Evas_Object *opbox, Evas_Object *term)
|
|||
elm_spinner_min_max_set(o, 1.0, 150.0);
|
||||
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
|
||||
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.5);
|
||||
if (config->custom_geometry)
|
||||
elm_spinner_value_set(o, (double) config->cg_height);
|
||||
else
|
||||
elm_spinner_value_set(o, (double) h);
|
||||
if (config->custom_geometry) elm_spinner_value_set(o, config->cg_height);
|
||||
else elm_spinner_value_set(o, h);
|
||||
elm_object_disabled_set(o, !config->custom_geometry);
|
||||
elm_box_pack_end(bx, o);
|
||||
evas_object_show(o);
|
||||
|
|
Loading…
Reference in New Issue