mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Document default values of alignItems and justifyContent (#2733)
This commit is contained in:
committed by
Michael Schneider
parent
4355f4d2ee
commit
016d99f420
@@ -46,13 +46,14 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
* @abstract Specifies the initial size in the stack dimension for this object.
|
||||
* Default to ASDimensionAuto
|
||||
* Defaults to ASDimensionAuto.
|
||||
* Used when attached to a stack layout.
|
||||
*/
|
||||
@property (nonatomic, readwrite) ASDimension flexBasis;
|
||||
|
||||
/**
|
||||
* @abstract Orientation of the object along cross axis, overriding alignItems
|
||||
* @abstract Orientation of the object along cross axis, overriding alignItems.
|
||||
* Defaults to ASStackLayoutAlignSelfAuto.
|
||||
* Used when attached to a stack layout.
|
||||
*/
|
||||
@property (nonatomic, readwrite) ASStackLayoutAlignSelf alignSelf;
|
||||
|
||||
@@ -55,9 +55,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
Thus, it is preferred to those properties
|
||||
*/
|
||||
@property (nonatomic, assign) ASVerticalAlignment verticalAlignment;
|
||||
/** The amount of space between each child. */
|
||||
/** The amount of space between each child. Defaults to ASStackLayoutJustifyContentStart */
|
||||
@property (nonatomic, assign) ASStackLayoutJustifyContent justifyContent;
|
||||
/** Orientation of children along cross axis */
|
||||
/** Orientation of children along cross axis. Defaults to ASStackLayoutAlignItemsStretch */
|
||||
@property (nonatomic, assign) ASStackLayoutAlignItems alignItems;
|
||||
/** If YES the vertical spacing between two views is measured from the last baseline of the top view to the top of the bottom view */
|
||||
@property (nonatomic, assign) BOOL baselineRelativeArrangement;
|
||||
|
||||
Reference in New Issue
Block a user