projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e8b12
)
[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
author
k2.nagaraju
<k2.nagaraju@samsung.com>
Wed, 3 Oct 2018 10:32:17 +0000
(16:02 +0530)
committer
jaekuk 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
patch
|
blob
|
history
diff --git
a/runtime/browser/native_window.cc
b/runtime/browser/native_window.cc
index 7ca946e7cef5295fa38aa0f10668a569a7ec7d94..a6e332d695912d3a5ef63f7a0939e17114bdb989 100755
(executable)
--- a/
runtime/browser/native_window.cc
+++ b/
runtime/browser/native_window.cc
@@
-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) {