~~Title: Efl.Ui.Scrollable.gravity~~ ====== Efl.Ui.Scrollable.gravity ====== ===== Description ===== %%Control scrolling gravity on the scrollable.%% %%The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.%% %%The scroller will adjust the view to glue itself as follows: %%''x=0.0''%% to stay where it is relative to the left edge of the content. %%''x=1.0''%% to stay where it is relative to the right edge of the content. %%''y=0.0''%% to stay where it is relative to the top edge of the content. %%''y=1.0''%% to stay where it is relative to the bottom edge of the content.%% //Since 1.23// {{page>:develop:api-include:efl:ui:scrollable:property:gravity:description&nouser&nolink&nodate}} ===== Values ===== * **x** - %%Horizontal scrolling gravity.%% * **y** - %%Vertical scrolling gravity.%% ===== Signature ===== @property gravity @pure_virtual { get {} set {} values { x: double (0.000000); y: double (0.000000); } } ===== C signature ===== void efl_ui_scrollable_gravity_get(const Eo *obj, double *x, double *y); void efl_ui_scrollable_gravity_set(Eo *obj, double x, double y); ===== Implemented by ===== * [[:develop:api:efl:ui:scrollable:property:gravity|Efl.Ui.Scrollable.gravity]] * [[:develop:api:efl:ui:scroll:manager:property:gravity|Efl.Ui.Scroll.Manager.gravity]]