Add IsAnchor to IAvailableContainer
This commit is contained in:
parent
5fa9db931f
commit
0b1f7b3f19
2 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ export interface IAvailableContainer {
|
|||
MinWidth?: number
|
||||
MaxWidth?: number
|
||||
Margin?: IMargin
|
||||
IsAnchor?: boolean
|
||||
IsFlex?: boolean
|
||||
AddMethod?: AddMethod
|
||||
XPositionReference?: XPositionReference
|
||||
|
|
|
@ -150,7 +150,7 @@ export function GetDefaultContainerProps(type: string,
|
|||
margin: containerConfig.Margin ?? {},
|
||||
width,
|
||||
height,
|
||||
isAnchor: false,
|
||||
isAnchor: containerConfig.IsAnchor ?? false,
|
||||
isFlex: containerConfig.IsFlex ?? containerConfig.Width === undefined,
|
||||
xPositionReference: containerConfig.XPositionReference ?? XPositionReference.Left,
|
||||
minWidth: containerConfig.MinWidth ?? 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue