fix: layout() cannot effect configMaxWidth or configMinWidth

This commit is contained in:
pengfei.zhou
2022-03-22 17:04:59 +08:00
committed by osborn
parent a19c327743
commit 809bc5ef0e
10 changed files with 1715 additions and 3105 deletions

4
doric-js/index.d.ts vendored
View File

@@ -1553,6 +1553,10 @@ declare module 'doric/lib/src/util/layoutconfig' {
} | undefined;
alignment: number | undefined;
weight: number | undefined;
minWidth: number | undefined;
maxWidth: number | undefined;
minHeight: number | undefined;
maxHeight: number | undefined;
};
}
export function layoutConfig(): LayoutConfigImpl;