have options not use so much horizontal space. :)

SVN revision: 76248
devs/lucas/wip
Carsten Haitzler 11 years ago
parent 5d6496ef4f
commit fe227c4d63
  1. 5
      data/themes/default.edc
  2. 5
      data/themes/mild.edc
  3. 2
      src/bin/options_behavior.c
  4. 4
      src/bin/options_font.c

@ -748,8 +748,7 @@ collections {
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 80 80;
max: 500 800;
min: 40 40;
align: 0.0 0.5;
visible: 0;
rel1 {
@ -766,7 +765,7 @@ collections {
visible: 1;
align: 1.0 0.5;
rel1 {
relative: 0.25 0.02;
relative: 0.1 0.02;
offset: 8 8;
}
rel2 {

@ -765,8 +765,7 @@ collections {
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 80 80;
max: 500 800;
min: 40 40;
align: 0.0 0.5;
visible: 0;
rel1 {
@ -783,7 +782,7 @@ collections {
visible: 1;
align: 1.0 0.5;
rel1 {
relative: 0.25 0.02;
relative: 0.1 0.02;
offset: 2 2;
}
rel2 {

@ -235,7 +235,7 @@ options_behavior(Evas_Object *opbox, Evas_Object *term)
op_sbslider = o = elm_slider_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.0);
elm_slider_span_size_set(o, 160);
elm_slider_span_size_set(o, 40);
elm_slider_unit_format_set(o, "%1.0f");
elm_slider_indicator_format_set(o, "%1.0f");
elm_slider_min_max_set(o, 0, 10000);

@ -239,6 +239,8 @@ options_font(Evas_Object *opbox, Evas_Object *term)
evas_object_show(o);
bx = o = elm_box_add(opbox);
evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(bx, EVAS_HINT_FILL, 0.5);
elm_box_horizontal_set(o, EINA_TRUE);
op_fsml = o = elm_label_add(opbox);
@ -249,7 +251,7 @@ options_font(Evas_Object *opbox, Evas_Object *term)
op_fontslider = o = elm_slider_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_slider_span_size_set(o, 160);
elm_slider_span_size_set(o, 40);
elm_slider_unit_format_set(o, "%1.0f");
elm_slider_indicator_format_set(o, "%1.0f");
elm_slider_min_max_set(o, 5, 45);

Loading…
Cancel
Save