summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_pager.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_pager.c b/src/lib/elementary/efl_ui_pager.c
index 5aac2e0887..729fcfd586 100644
--- a/src/lib/elementary/efl_ui_pager.c
+++ b/src/lib/elementary/efl_ui_pager.c
@@ -727,7 +727,12 @@ _efl_ui_pager_page_size_set(Eo *obj EINA_UNUSED,
727 if (pd->transition) 727 if (pd->transition)
728 efl_page_transition_page_size_set(pd->transition, pd->page_spec.sz); 728 efl_page_transition_page_size_set(pd->transition, pd->page_spec.sz);
729 else 729 else
730 efl_gfx_entity_size_set(pd->page_box, pd->page_spec.sz); 730 {
731 efl_gfx_entity_size_set(pd->page_box, pd->page_spec.sz);
732 efl_gfx_entity_position_set(pd->page_box,
733 EINA_POSITION2D(pd->x + (pd->w / 2) - (pd->page_spec.sz.w / 2),
734 pd->y + (pd->h / 2) - (pd->page_spec.sz.h / 2)));
735 }
731} 736}
732 737
733EOLIAN static int 738EOLIAN static int