fix color slider gradient fills after evas changes

SVN revision: 26430
This commit is contained in:
rephorm 2006-10-08 15:21:04 +00:00 committed by rephorm
parent 6359e28a0c
commit 570f436e9a
1 changed files with 2 additions and 5 deletions

View File

@ -78,7 +78,7 @@ e_widget_cslider_add(Evas *evas, E_Color_Component mode, E_Color *color, int ver
e_widget_sub_object_add(obj, o);
if (wd->vertical)
evas_object_gradient_angle_set(o, 180);
evas_object_gradient_angle_set(o, 0);
else
evas_object_gradient_angle_set(o, 270);
@ -113,10 +113,7 @@ static void
_e_wid_resize(void *data, Evas_Object *o, Evas_Coord w, Evas_Coord h)
{
E_Widget_Data *wd = data;
if (wd->vertical)
evas_object_gradient_fill_set(o, 0, 0, w, h);
else
evas_object_gradient_fill_set(o, 0, 0, h, w);
evas_object_gradient_fill_set(o, 0, 0, w, h);
evas_object_resize(o, w, h);
evas_object_resize(wd->o_event, w, h);
}