aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/options_font.c
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/bin/options_font.c
parentadd webp and img formats u can look at now. :) (diff)
downloadterminology-fe227c4d63c3e0236ce227e3621b779601d2b756.tar.gz
have options not use so much horizontal space. :)
SVN revision: 76248
Diffstat (limited to 'src/bin/options_font.c')
-rw-r--r--src/bin/options_font.c4
1 files changed, 3 insertions, 1 deletions
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)
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);