summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-09-06 15:19:33 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-09-06 15:19:33 +0000
commitfe227c4d63c3e0236ce227e3621b779601d2b756 (patch)
tree67cba0ad5d5be4369762f346b704142a972826c4 /src
parent5d6496ef4f126dd611e1bad03ceaeeb03e3982f5 (diff)
have options not use so much horizontal space. :)
SVN revision: 76248
Diffstat (limited to 'src')
-rw-r--r--src/bin/options_behavior.c2
-rw-r--r--src/bin/options_font.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/options_behavior.c b/src/bin/options_behavior.c
index 74f350a..2161fa1 100644
--- a/src/bin/options_behavior.c
+++ b/src/bin/options_behavior.c
@@ -235,7 +235,7 @@ options_behavior(Evas_Object *opbox, Evas_Object *term)
235 op_sbslider = o = elm_slider_add(bx); 235 op_sbslider = o = elm_slider_add(bx);
236 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0); 236 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
237 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.0); 237 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.0);
238 elm_slider_span_size_set(o, 160); 238 elm_slider_span_size_set(o, 40);
239 elm_slider_unit_format_set(o, "%1.0f"); 239 elm_slider_unit_format_set(o, "%1.0f");
240 elm_slider_indicator_format_set(o, "%1.0f"); 240 elm_slider_indicator_format_set(o, "%1.0f");
241 elm_slider_min_max_set(o, 0, 10000); 241 elm_slider_min_max_set(o, 0, 10000);
diff --git a/src/bin/options_font.c b/src/bin/options_font.c
index dc97e24..af578a0 100644
--- a/src/bin/options_font.c
+++ b/src/bin/options_font.c
@@ -239,6 +239,8 @@ options_font(Evas_Object *opbox, Evas_Object *term)
239 evas_object_show(o); 239 evas_object_show(o);
240 240
241 bx = o = elm_box_add(opbox); 241 bx = o = elm_box_add(opbox);
242 evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, 0.0);
243 evas_object_size_hint_align_set(bx, EVAS_HINT_FILL, 0.5);
242 elm_box_horizontal_set(o, EINA_TRUE); 244 elm_box_horizontal_set(o, EINA_TRUE);
243 245
244 op_fsml = o = elm_label_add(opbox); 246 op_fsml = o = elm_label_add(opbox);
@@ -249,7 +251,7 @@ options_font(Evas_Object *opbox, Evas_Object *term)
249 op_fontslider = o = elm_slider_add(opbox); 251 op_fontslider = o = elm_slider_add(opbox);
250 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0); 252 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
251 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.5); 253 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.5);
252 elm_slider_span_size_set(o, 160); 254 elm_slider_span_size_set(o, 40);
253 elm_slider_unit_format_set(o, "%1.0f"); 255 elm_slider_unit_format_set(o, "%1.0f");
254 elm_slider_indicator_format_set(o, "%1.0f"); 256 elm_slider_indicator_format_set(o, "%1.0f");
255 elm_slider_min_max_set(o, 5, 45); 257 elm_slider_min_max_set(o, 5, 45);