elm_colorselector: fix horiz/vertical padding to be affected by base_scale in edc
authorSung-Taek Hong <sth253.hong@samsung.com>
Mon, 22 Jun 2015 09:55:52 +0000 (11:55 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 22 Jun 2015 10:36:57 +0000 (12:36 +0200)
commit55766647c69d3dc2c38b50ec0cbcfd7d3c0086c7
tree8a521ab802adccdd8a266379923baf5e22ddcdcc
parente5bbfc208c4ef4037ccd2fc5919fca0f851cc704
elm_colorselector: fix horiz/vertical padding to be affected by base_scale in edc

Summary:
elm_colorselector get its padding size from data in edc.
However, when calculating the padding size, it does not consider
base_scale of the style from where it gets padding size.
In this commit, the padding size from edc is divided by its
base_scale so that desirable size can be calculated.

@fix

Reviewers: Hermet, woohyun

Subscribers: woohyun, Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/elm_colorselector.c