netstar pushed a commit to branch master. http://git.enlightenment.org/apps/evisum.git/commit/?id=83db45e7c6c2a3659f91ecea1b5db3447930b8c6
commit 83db45e7c6c2a3659f91ecea1b5db3447930b8c6 Author: Alastair Poole <[email protected]> Date: Sun Jun 7 18:10:17 2020 +0100 ui: search hide on resize fix. Hide the container of the entry when resizing @fix :) --- src/bin/ui/ui.c | 6 +++--- src/bin/ui/ui.h | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bin/ui/ui.c b/src/bin/ui/ui.c index d655a7d..0df3c86 100644 --- a/src/bin/ui/ui.c +++ b/src/bin/ui/ui.c @@ -1099,7 +1099,7 @@ _tabs_hide(Ui *ui) ui->disk_visible = EINA_FALSE; ui->cpu_visible = EINA_FALSE; - evas_object_hide(ui->entry_search); + evas_object_hide(ui->entry_search_border); evas_object_hide(ui->system_activity); evas_object_hide(ui->cpu_view); evas_object_hide(ui->mem_view); @@ -1163,7 +1163,7 @@ _tab_system_activity_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, _tab_state_changed(ui, obj, ui->system_activity); - evas_object_show(ui->entry_search); + evas_object_show(ui->entry_search_border); } static void @@ -1385,7 +1385,7 @@ _ui_tabs_add(Evas_Object *parent, Ui *ui) elm_object_style_set(frame, "pad_small"); evas_object_show(frame); - border = elm_frame_add(parent); + ui->entry_search_border = border = elm_frame_add(parent); evas_object_size_hint_weight_set(border, EXPAND, EXPAND); evas_object_size_hint_align_set(border, FILL, FILL); elm_object_style_set(border, "pad_small"); diff --git a/src/bin/ui/ui.h b/src/bin/ui/ui.h index 51ce613..e7889ab 100644 --- a/src/bin/ui/ui.h +++ b/src/bin/ui/ui.h @@ -84,6 +84,7 @@ typedef struct Ui Evisum_Ui_Cache *cache; Evas_Object *genlist_procs; Evas_Object *entry_search; + Evas_Object *entry_search_border; Ecore_Thread *thread_system; Ecore_Thread *thread_process; --
