summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJee-Yong Um <jc9.um@samsung.com>2014-12-19 14:27:00 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-12-19 14:28:15 +0900
commit05a104a24d8276a2bcb79e10918e7e2398a6739f (patch)
treef51361a3a0888e35f88f34c798e6d4f066817c73
parentcaa12399a8444a4a706243f9660da9878a875e3c (diff)
downloadelementary-05a104a24d8276a2bcb79e10918e7e2398a6739f.tar.gz
elm_colorselector: fix not intended duplication
Summary: When colorselector widget is added, there are two align set command on palette_box part, but that for picker part is omitted. Apply elm_box_align_set function to picker part correctly. @fix Reviewers: Hermet Reviewed By: Hermet Subscribers: Hermet Differential Revision: https://phab.enlightenment.org/D1790
-rw-r--r--AUTHORS1
-rw-r--r--src/lib/elm_colorselector.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 7b1f314d0..34e5d98ac 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -160,3 +160,4 @@ Kabeer Khan <kabeer.khan@samsung.com>
yinsc <shouchen.yin@samsung.com>
Woochan Lee <wc0917.lee@samsung.com>
Vitalii Vorobiov <vi.vorobiov@samsung.com>
+Jee-Yong Um <conr2d@gmail.com>
diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c
index 3d13d0716..09942ca82 100644
--- a/src/lib/elm_colorselector.c
+++ b/src/lib/elm_colorselector.c
@@ -1574,7 +1574,7 @@ _elm_colorselector_evas_object_smart_add(Eo *obj, Elm_Colorselector_Data *priv)
elm_box_padding_set(priv->picker,
(h_pad * elm_widget_scale_get(obj) * elm_config_scale_get()),
(v_pad * elm_widget_scale_get(obj) * elm_config_scale_get()));
- elm_box_align_set(priv->palette_box, 0.5, 0.5);
+ elm_box_align_set(priv->picker, 0.5, 0.5);
priv->mode = ELM_COLORSELECTOR_BOTH;
priv->focused = ELM_COLORSELECTOR_PALETTE;