[HOTFIX] Force resize the webview height and width to window height and width. 33/190533/2 accepted/tizen/unified/20181005.012508 submit/tizen/20181004.003447
authork2.nagaraju <k2.nagaraju@samsung.com>
Wed, 3 Oct 2018 10:32:17 +0000 (16:02 +0530)
committerjaekuk lee <juku1999@samsung.com>
Wed, 3 Oct 2018 11:02:10 +0000 (11:02 +0000)
Change-Id: I55e2dd9f4894017e704a18f80405cc55ba6a492d
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
runtime/browser/native_window.cc

index 7ca946e..a6e332d 100755 (executable)
@@ -241,8 +241,11 @@ void NativeWindow::SetContent(Evas_Object* content) {
   elm_object_focus_set(focus_, EINA_TRUE);
   content_ = content;
 
-  // attached webview was resized by evas_norender API
-  evas_norender(evas_object_evas_get(window_));
+  // Force resize to window width and height
+  int w, h;
+  elm_win_screen_size_get(window_, NULL, NULL, &w, &h);
+  LOGGER(DEBUG)<< "w " << w << " h " << h;
+  evas_object_resize(content, w, h);
 }
 
 void NativeWindow::DidRotation(int degree) {