TKCoreLayoutSizingMode Constants Reference
Declared in | TKCoreLayoutItem.h |
TKCoreLayoutSizingMode
@enum TKLayoutSizingMode
Defines the different sizing modes that can be used when arranging sub views in TKCoreStackLayout.
Definition
typedef NS_ENUM(NSInteger, TKCoreLayoutSizingMode ) {
TKCoreLayoutSizingModeFixed,
TKCoreLayoutSizingModeFit,
};
Constants
TKCoreLayoutSizingModeFixed
-
The stack layout will not change the size for the subview. It will change only the frame origin.
Declared In
TKCoreLayoutItem.h
. TKCoreLayoutSizingModeFit
-
The stack layout will use the sizeThatFits method to determine the desired size for the subview.
Declared In
TKCoreLayoutItem.h
.
Declared In
TKCoreLayoutItem.h