Ctxpopup: resizing ctxpopup after its content is removed
authorJinYong Park <j4939.park@samsung.com>
Wed, 15 Nov 2017 07:46:01 +0000 (16:46 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 15 Nov 2017 07:46:01 +0000 (16:46 +0900)
commitd96f3bb4f398590adeb95d05110cf95b757a429c
tree8548ec40bd1e12ae68f5732ee9be0bd735e76893
parent36afcf2af91d7ccec9144376f5550c5cf6a66579
Ctxpopup: resizing ctxpopup after its content is removed

Summary:
When ctxpopup's content is removed,
ctxpopup doesn't recalculate its size, so empty space is remaind.
To fix this problem, ctxpopup recalculate its size when content is removed.
This patch is about T6327

@fix

Test Plan:
1. run elementary_test -to ctxpopup
2. select 10st item
3. click button in ctxpopup

Reviewers: jpeg, Jaehyun_Cho, zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5462
src/bin/elementary/test_ctxpopup.c
src/lib/elementary/elc_ctxpopup.c