edje/dragable - Setting size of knob with the API.

SVN revision: 62077
This commit is contained in:
Rafael Antognolli 2011-08-03 21:37:42 +00:00
parent 9d039d3641
commit 90e6bf26cc
2 changed files with 2 additions and 2 deletions

View File

@ -81,8 +81,6 @@ collections {
color: 255 0 0 200;
min: 10 30;
max: 10 30;
}
} // example/knob

View File

@ -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");