ajwillia-ms pushed a commit to branch master.

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

commit aef5bb8fef3fa38118b225ffc0397c4fcc6b5943
Author: Andy Williams <a...@andywilliams.me>
Date:   Wed Dec 28 23:36:22 2016 +0000

    documentation: correct size for scaled displays
---
 src/bin/editor/edi_editor_documentation.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/bin/editor/edi_editor_documentation.c 
b/src/bin/editor/edi_editor_documentation.c
index 92fa2fc..20a4347 100644
--- a/src/bin/editor/edi_editor_documentation.c
+++ b/src/bin/editor/edi_editor_documentation.c
@@ -416,8 +416,7 @@ edi_editor_doc_open(Edi_Editor *editor)
    elm_grid_size_set(grid, 100, 100);
    evas_object_size_hint_weight_set(grid, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    evas_object_geometry_get(editor->entry, NULL, NULL, &w, &h);
-   evas_object_size_hint_min_set(grid, w * 0.8 * elm_config_scale_get(),
-                                 h * 0.8 * elm_config_scale_get());
+   evas_object_size_hint_min_set(grid, w * 0.8, h * 0.8);
    elm_object_content_set(editor->doc_popup, grid);
    evas_object_show(grid);
 

-- 


Reply via email to