elc_popup: If popup's parent is resized, popup need to resized, too
authorJinyong Park <j4939.park@samsung.com>
Mon, 11 Apr 2016 15:28:55 +0000 (00:28 +0900)
committerHermet Park <hermet@hermet.pe.kr>
Mon, 11 Apr 2016 15:28:55 +0000 (00:28 +0900)
commit33d9bcc55123343489037aa868ed5a3cd05e9438
tree5efc12fa676a24167e48ba4ba520bbc0e40ac6ac
parent1efa5dfe57b8e8d8bb2530861728922059aff7b1
elc_popup: If popup's parent is resized, popup need to resized, too

Summary:
When window's size is not enough to show popup, popup resize smaller to show it in appropriate size.
But if window resize larger enough to show popup, popup is locked in small size.
On the contrary to this case, if window resize too smaller, popup has still large size, so popup doesn't display properly.

Test Plan:
1. elementary_test popup
2. maximize test list window
3. click 8th item, "popup-center-title + items + 3 buttons"
4. restore window size
5. close popup, resize window to smaller than popup in 3).
6. click 8th item, "popup-center-title + items + 3 buttons"
7. restore window size
popup size of 4. and 7. is different

Reviewers: jaehwan, cedric, raster, id213sin, singh.amitesh, SanghyeonLee

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3854
src/lib/elementary/elc_popup.c