Implement flexible popup depend on text length
authorJihoon Chung <jihoon.chung@samsaung.com>
Sat, 28 Sep 2013 05:19:01 +0000 (14:19 +0900)
committerHoseon LEE <hoseon46.lee@samsung.com>
Mon, 14 Oct 2013 11:19:09 +0000 (20:19 +0900)
commiteacebe5e27a830145213be192bf8d089e8076e04
tree7fbe69b2fef3d22ec418cb3addf648b42043fb88
parent51b9247ee3d82895dbd27b80992c3f45a9d1ebe2
Implement flexible popup depend on text length

[Issue#]   P130927-03499
[Problem]  Layout of permission popup is broken
[Cause]    Current WRT doesn't set padding area to popup layout.
           Before it is working fine with default padding supported by elementary,
           the latest version has no padding area is supported.
[Solution] Change popup layout to use padding area.
           - Add padding(SPACER type) between contents and four sides of a popup.
           - Contents area(body text) removes minimum size. (Automatically set by elementary)
           Add scroller if text is overflown screen height.
           - Register "resize" callback to popup.
           - When callback is called, calculate screen height and popup height.
           - In case of popup height is over screen height, add scroller to popup.

[SCMRequest] N/A

Change-Id: Ic07a3209ebeebad0ac35bbab92aea1d5250b31f4
data/Wrt.edc
src/view/common/view_logic_certificate_support.cpp
src/view/common/view_logic_security_origin_support.cpp