From 5eb167c9228af96bc69aea80185147ac78423b03 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Mon, 10 Jun 2013 13:33:00 +0900 Subject: [PATCH] elementary/conformant - remove the keyboard area in the conformant if the keyboard state is off. --- legacy/elementary/ChangeLog | 4 ++++ legacy/elementary/NEWS | 1 + legacy/elementary/src/lib/elm_conform.c | 2 ++ 3 files changed, 7 insertions(+) diff --git a/legacy/elementary/ChangeLog b/legacy/elementary/ChangeLog index b123bc8fd1..97e8c70162 100644 --- a/legacy/elementary/ChangeLog +++ b/legacy/elementary/ChangeLog @@ -1398,3 +1398,7 @@ 2013-06-07 Thiep Ha * Add magnifier to entry. + +2013-06-10 ChunEon Park (Hermet) + + * Remove the keyboard area in the conformant if the keyboard state is off. diff --git a/legacy/elementary/NEWS b/legacy/elementary/NEWS index 4757161040..d07bc2ea04 100644 --- a/legacy/elementary/NEWS +++ b/legacy/elementary/NEWS @@ -240,6 +240,7 @@ Fixes: * Fix elm_colorselector does not update color bar when picker changed color. * Fix navifame to recover the focus for the prev page when top item is deleted. * Up/down step of hour decimal of elm_clock is changed to 12 not to touch hour unit at editing mode. + * Remove the keyboard area in the conformant if the keyboard state is off. Removals: diff --git a/legacy/elementary/src/lib/elm_conform.c b/legacy/elementary/src/lib/elm_conform.c index 0d95b3b1c0..1a2a6d0a4c 100644 --- a/legacy/elementary/src/lib/elm_conform.c +++ b/legacy/elementary/src/lib/elm_conform.c @@ -779,6 +779,8 @@ _virtualkeypad_state_change(Evas_Object *obj, Ecore_X_Event_Window_Property *ev) if (state == ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF) { DBG("[KEYPAD]:ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF"); + evas_object_size_hint_min_set(sd->virtualkeypad, -1, 0); + evas_object_size_hint_max_set(sd->virtualkeypad, -1, 0); _conformant_part_sizing_eval(obj, ELM_CONFORMANT_VIRTUAL_KEYPAD_PART); elm_widget_display_mode_set(obj, EVAS_DISPLAY_MODE_NONE); evas_object_smart_callback_call(obj, SIG_VIRTUALKEYPAD_STATE_OFF, NULL);