bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c33aaf32a86de25f92847373b072e327b884a324

commit c33aaf32a86de25f92847373b072e327b884a324
Author: Marcel Hollerbach <[email protected]>
Date:   Fri Dec 6 19:19:38 2019 +0100

    elm_code: set box align correctly
    
    sometimes the resize size is not in line with the size of the outer
    widget, in this case the box should align its children at the very top,
    otherwise the cursor grid is falling out of sync with the text content.
---
 src/lib/elementary/elm_code_widget.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/elm_code_widget.c 
b/src/lib/elementary/elm_code_widget.c
index 30c87327a6..d18f6126a2 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -2417,6 +2417,7 @@ _elm_code_widget_efl_canvas_group_group_add(Eo *obj, 
Elm_Code_Widget_Data *pd)
    gridrows = elm_box_add(scroller);
    evas_object_size_hint_weight_set(gridrows, EVAS_HINT_EXPAND, 0.0);
    evas_object_size_hint_align_set(gridrows, EVAS_HINT_FILL, 0.0);
+   elm_box_align_set(gridrows, 0.0, 0.0);
    elm_object_content_set(scroller, gridrows);
    pd->gridbox = gridrows;
 

-- 


Reply via email to