set_align


Description:

public void set_align (float align)

Sets horizontal alignment of the bottom sheet.

0 means the bottom sheet is flush with the start edge, 1 means it's flush with the end edge. 0.5 means it's centered.

Only used when [property@BottomSheet:full-width] is set to `FALSE`.

Parameters:

this

a bottom sheet

align

the new alignment