ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=fae8350ea11f8108881756f0e80cc8d82b7f3338

commit fae8350ea11f8108881756f0e80cc8d82b7f3338
Author: Andy Williams <a...@andywilliams.me>
Date:   Mon Jul 24 23:35:30 2017 +0100

    settings: fix graphical glitch on smaller screens
---
 src/bin/screens/edi_settings.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/screens/edi_settings.c b/src/bin/screens/edi_settings.c
index 95a73f4..a28f5d4 100644
--- a/src/bin/screens/edi_settings.c
+++ b/src/bin/screens/edi_settings.c
@@ -133,6 +133,7 @@ _edi_settings_font_preview_add(Evas_Object *parent, const 
char *font_name, int f
    elm_obj_code_widget_font_set(widget, font_name, font_size);
    elm_obj_code_widget_line_numbers_set(widget, EINA_TRUE);
    elm_obj_code_widget_editable_set(widget, EINA_FALSE);
+   elm_obj_code_widget_policy_set(widget, ELM_SCROLLER_POLICY_OFF, 
ELM_SCROLLER_POLICY_OFF);
    evas_object_size_hint_weight_set(widget, EVAS_HINT_EXPAND, 
EVAS_HINT_EXPAND);
    evas_object_size_hint_align_set(widget, EVAS_HINT_FILL, EVAS_HINT_FILL);
    evas_object_show(widget);

-- 


Reply via email to