elm map bubble: use specific theme for the scroller

SVN revision: 56864
This commit is contained in:
Jonathan Atton 2011-02-09 18:04:12 +00:00
parent a2aadf273e
commit b48554ce0b
2 changed files with 2 additions and 0 deletions

View File

@ -318,6 +318,7 @@ collections {
alias: "elm/genlist/base/default";
alias: "elm/carousel/base/default";
alias: "elm/gengrid/base/default";
alias: "elm/scroller/base/map_bubble";
data {
item: "focus_highlight" "on";

View File

@ -1868,6 +1868,7 @@ _group_bubble_content_update(Marker_Group *group)
if (!group->sc)
{
group->sc = elm_scroller_add(group->bubble);
elm_widget_style_set(group->sc, "map_bubble");
elm_scroller_content_min_limit(group->sc, EINA_FALSE, EINA_TRUE);
elm_scroller_policy_set(group->sc, ELM_SCROLLER_POLICY_AUTO, ELM_SCROLLER_POLICY_OFF);
elm_scroller_bounce_set(group->sc, _elm_config->thumbscroll_bounce_enable, EINA_FALSE);