Change auto_fitting_set setting
authorJihoon Chung <jihoon.chung@samsung.com>
Mon, 10 Dec 2012 08:29:22 +0000 (17:29 +0900)
committerJihoon Chung <jihoon.chung@samsung.com>
Mon, 10 Dec 2012 08:32:05 +0000 (17:32 +0900)
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Change ewk_settings_auto_fitting_set setting to EINA_TRUE
[SCMRequest] N/A

Change-Id: I120f658a5f41fe6f030853614605b59f91b5a52c

src/view/webkit/view_logic.cpp

index a38fbda..5ab7a42 100644 (file)
@@ -923,7 +923,7 @@ void ViewLogic::prepareEwkView(Evas_Object *wkView)
     //      elm_webview_show_magnifier_set(EINA_FALSE);
     ewk_settings_javascript_enabled_set(settings, EINA_TRUE);
     ewk_settings_loads_images_automatically_set(settings, EINA_TRUE);
-    ewk_settings_auto_fitting_set(settings, EINA_FALSE);
+    ewk_settings_auto_fitting_set(settings, EINA_TRUE);
 
     // disable zoom option when user click the input field
     // this option is useful with the normal website
@@ -1210,7 +1210,7 @@ void ViewLogic::createWindowCallback(
         This->m_cbs->windowCreateBefore(&canvas, obj);
     }
     if (!canvas) {
-        canvas = evas_object_evas_get(This->m_window); 
+        canvas = evas_object_evas_get(This->m_window);
     }
 
     // create new ewkview