forked from enlightenment/efl
edje/dragable - Setting size of knob with the API.
SVN revision: 62077
This commit is contained in:
parent
9d039d3641
commit
90e6bf26cc
|
@ -81,8 +81,6 @@ collections {
|
|||
|
||||
color: 255 0 0 200;
|
||||
|
||||
min: 10 30;
|
||||
max: 10 30;
|
||||
}
|
||||
} // example/knob
|
||||
|
||||
|
|
|
@ -138,6 +138,8 @@ main(void)
|
|||
evas_object_resize(app.edje, WIDTH, HEIGHT);
|
||||
evas_object_show(app.edje);
|
||||
|
||||
edje_object_part_drag_size_set(app.edje, PARTNAME, 1.0, 0.4);
|
||||
|
||||
if (!edje_object_part_drag_step_set(app.edje, PARTNAME, 0.0, 0.1))
|
||||
printf("error when setting drag step size.\n");
|
||||
|
||||
|
|
Loading…
Reference in New Issue