Page MenuHomePhabricator

efl_ui_bg: fix unclipped image on EFL_UI_IMAGE_SCALE_TYPE_NONE @fix
ClosedPublic

Authored by taxi2se on Nov 20 2017, 11:36 PM.

Details

Summary

efl_ui_bg has internal image and image may be larger than

resize_obj when EFL.UI.IMAGE.SCALE_TYPE is none.
Now resize_obj clips the internal image.
Test Plan

1.Run elementary_test, part background(will be added soon)
2.Create a bg in a box with other widgets.

Set bg as EFL_UI_IMAGE_SCALYE_TYPE_NONE.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
taxi2se created this revision.Nov 20 2017, 11:36 PM
cedric accepted this revision.Nov 23 2017, 3:42 PM
This revision is now accepted and ready to land.Nov 23 2017, 3:42 PM
Closed by commit rEFL1f35c2363a7d: efl_ui_bg: fix unclipped image on EFL_UI_IMAGE_SCALE_TYPE_NONE (authored by taxi2se, committed by Cedric Bail <cedric@osg.samsung.com>). · Explain WhyNov 23 2017, 3:59 PM
This revision was automatically updated to reflect the committed changes.