RBLayoutGridPositionerSize Constants Reference
Declared in | RBLayoutGridPositioner.h |
---|
RBLayoutGridPositionerSize
Commonly used sizing methods.
Definition
typedef NS_ENUM(NSInteger, RBLayoutGridPositionerSize ) {
RBLayoutGridPositionerSizeEvenly,
RBLayoutGridPositionerSizeToSize,
RBLayoutGridPositionerSizeToSizeSpacedEvenly,
};
Constants
RBLayoutGridPositionerSizeEvenly
-
Cells are sized to evenly to fill all available space in the unfixed orientation. e.g. for vertical orientation, widths will expand to fit available space. e.g. for horizontal orientation, heights will expand to fit available space.
Declared In
RBLayoutGridPositioner.h
. RBLayoutGridPositionerSizeToSize
-
Cells are sized according to the size they request.
Declared In
RBLayoutGridPositioner.h
. RBLayoutGridPositionerSizeToSizeSpacedEvenly
-
Cells are sized according to the size they request and spaced evenly in the unfixed orientation. e.g. for vertical orientation, cells will be spaced evenly across the whole width of the available space. e.g. for horizontal orientation, cells will be spaced evenly across the whole height of the available space.
Declared In
RBLayoutGridPositioner.h
.
Declared In
RBLayoutGridPositioner.h