aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-22 08:49:34 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-22 08:49:34 -0500
commitaf249979066811365af8781a8871d450e4929a0a (patch)
treecb47b8bc817897bd680a4edde6d3ff7a557ad90a
parentuse the current pointer client for the xwayland drag client if owner is unmapped (diff)
downloadenlightenment-af249979066811365af8781a8871d450e4929a0a.tar.gz
disable bounce for gadget bar scrollers
-rw-r--r--src/bin/e_bryce.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c
index 5a46ea31f..6dc0c97f9 100644
--- a/src/bin/e_bryce.c
+++ b/src/bin/e_bryce.c
@@ -875,11 +875,13 @@ _bryce_orient(Bryce *b)
{
elm_layout_signal_emit(b->layout, "e,state,orient,horizontal", "e");
elm_layout_signal_emit(b->scroller, "e,state,orient,horizontal", "e");
+ elm_scroller_policy_set(b->scroller, ELM_SCROLLER_POLICY_AUTO, ELM_SCROLLER_POLICY_OFF);
}
else
{
elm_layout_signal_emit(b->layout, "e,state,orient,vertical", "e");
elm_layout_signal_emit(b->scroller, "e,state,orient,vertical", "e");
+ elm_scroller_policy_set(b->scroller, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_AUTO);
}
evas_object_event_callback_add(b->site, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _bryce_site_hints, b);
evas_object_smart_callback_add(b->site, "gadget_site_anchor", _bryce_site_anchor, b);
@@ -920,6 +922,7 @@ _bryce_create(Bryce *b, Evas_Object *parent)
_bryce_style_apply(b);
b->scroller = scr = elm_scroller_add(ly);
+ elm_scroller_bounce_set(scr, 0, 0);
elm_object_style_set(scr, "bryce");
_bryce_orient(b);
elm_object_part_content_set(ly, "e.swallow.content", scr);