HomePhabricator

gfx: Add size hint fill (EO)

Authored by Yeongjong Lee <yj34.lee@samsung.com> on Jan 15 2019, 11:47 PM.

Description

gfx: Add size hint fill (EO)

Summary:
If widget use both hint_align(HINT_FILL) and hint_max together, there is no way
to set to hint_align. See, elementary_test -to 'efl.ui.box' -
"Button with a quite long text." button. you can control button position
using "Box align" slider, but this is not proper implementation. When there are
two widget which have hint_align(HINT_FILL) and hint_max, those positions are
determined by box_align rather than hint_align. it means widget align cannot be
set individually.
To solve this problem, this patch add hint_fill property. in order to avoid
conflict with legacy API named evas_object_size_hint_fill_set(), it only works
for EO widgets(made by efl_add).
Also, EFL_GFX_SIZE_HINT_FILL is removed.

@feature

Test Plan:
elementary_test -to 'efl.ui.box'
elementary_test -to 'efl.ui.table'

Reviewers: jpeg, Hermet, Jaehyun_Cho, raster, barbieri

Reviewed By: Jaehyun_Cho

Subscribers: cedric, reviewers, committers

Tags: efl

Maniphest Tasks: T3912

Differential Revision: https://phab.enlightenment.org/D7409

Details

Committed
Jaehyun_ChoJan 15 2019, 11:47 PM
Reviewer
Jaehyun_Cho
Differential Revision
D7409: gfx: Add size hint fill (EO)
Parents
rEFL4858d9eb81f4: efl-mono: Remove trailings from template file
Branches
Unknown
Tags
Unknown
Jaehyun_Cho committed rEFL78ae9c0ae069: gfx: Add size hint fill (EO) (authored by Yeongjong Lee <yj34.lee@samsung.com>).Jan 15 2019, 11:47 PM