Fix miscalculation of candidiate line break 88/37188/1 accepted/tizen/mobile/20150323.005910 accepted/tizen/tv/20150323.005437 accepted/tizen/wearable/20150323.005726 submit/tizen_mobile/20150321.101008 submit/tizen_tv/20150321.101001 submit/tizen_wearable/20150321.101016
authorLi Zhang <li2012.zhang@samsung.com>
Thu, 19 Mar 2015 11:50:36 +0000 (19:50 +0800)
committerLi Zhang <li2012.zhang@samsung.com>
Fri, 20 Mar 2015 09:12:12 +0000 (17:12 +0800)
Change-Id: I2de785f9064b5f9e5b0e14d30f1dcb0a0504fb4e

ism/extras/efl_panel/isf_panel_efl.cpp

index fec0da5..634f25f 100644 (file)
@@ -4513,9 +4513,6 @@ static void update_table (int table_type, const LookupTable &table)
                 evas_object_event_callback_add (_candidate_0 [i], EVAS_CALLBACK_MOUSE_UP, ui_mouse_button_released_cb, GINT_TO_POINTER (i));
                 evas_object_event_callback_add (_candidate_0 [i], EVAS_CALLBACK_MOUSE_MOVE, ui_mouse_moved_cb, GINT_TO_POINTER (ISF_EFL_CANDIDATE_0));
 
-                /* Resize _candidate_0 [i] display width */
-                item_0_width = item_0_width > _item_min_width ? item_0_width : _item_min_width;
-
                 /* Check whether this item is the last one */
                 if (i == item_num - 1) {
                     if (_candidate_angle == 90 || _candidate_angle == 270)
@@ -4576,8 +4573,6 @@ static void update_table (int table_type, const LookupTable &table)
                 evas_object_event_callback_add (_candidate_0 [i], EVAS_CALLBACK_MOUSE_UP, ui_mouse_button_released_cb, GINT_TO_POINTER (i));
                 evas_object_event_callback_add (_candidate_0 [i], EVAS_CALLBACK_MOUSE_MOVE, ui_mouse_moved_cb, GINT_TO_POINTER (ISF_EFL_CANDIDATE_ITEMS));
             }
-            /* Resize _candidate_items [i] display width */
-            item_0_width = item_0_width > _item_min_width ? item_0_width : _item_min_width;
             if (current_width > 0 && current_width + item_0_width > _candidate_scroll_width) {
                 current_width = 0;
                 line_count++;