aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/options_font.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-06-18 07:54:40 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-06-18 07:54:40 +0000
commitefb9cd7567f55770526b90c14b4ee3d511f7c725 (patch)
treebf3a585096bc9e31075088b958561ec90944ec3d /src/bin/options_font.c
parentuse new item styles for genlist and make font preview wide. (diff)
downloadterminology-efb9cd7567f55770526b90c14b4ee3d511f7c725.tar.gz
actually get elm scale config val and set on textgrid nd preview
objects. SVN revision: 72367
Diffstat (limited to 'src/bin/options_font.c')
-rw-r--r--src/bin/options_font.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/options_font.c b/src/bin/options_font.c
index 6c1f780..ddb002b 100644
--- a/src/bin/options_font.c
+++ b/src/bin/options_font.c
@@ -113,6 +113,7 @@ _cb_op_font_preview_eval(void *data, Evas *e, Evas_Object *obj, void *event)
o = evas_object_text_add(evas_object_evas_get(obj));
evas_object_color_set(o, 0, 0, 0, 255);
evas_object_text_text_set(o, "Abc 123 $@#");
+ evas_object_scale_set(o, elm_config_scale_get());
if (f->bitmap)
{
snprintf(buf, sizeof(buf), "%s/fonts/%s",