diff --git a/packages/vue/src/i18n/messages/panels.ts b/packages/vue/src/i18n/messages/panels.ts index 9a7dcae61..2043225e6 100644 --- a/packages/vue/src/i18n/messages/panels.ts +++ b/packages/vue/src/i18n/messages/panels.ts @@ -250,6 +250,16 @@ export const panelMessageDefaults = { resizeAutoWidth: 'Auto width', resizeAutoHeight: 'Auto height', resizeFixed: 'Fixed size', + layoutGrids: 'Layout grid', + addLayoutGrid: 'Add layout grid', + removeLayoutGrid: 'Remove layout grid', + gridColumns: 'Columns', + gridRows: 'Rows', + gridGrid: 'Grid', + gridCount: 'Count', + gridGutter: 'Gutter', + gridMargin: 'Margin', + gridSectionSize: 'Section size', searchFonts: 'Search fonts...' } as const diff --git a/src/components/properties/LayoutSection/LayoutGridSection.vue b/src/components/properties/LayoutSection/LayoutGridSection.vue new file mode 100644 index 000000000..674f9fea4 --- /dev/null +++ b/src/components/properties/LayoutSection/LayoutGridSection.vue @@ -0,0 +1,148 @@ + + + diff --git a/src/components/properties/LayoutSection/LayoutSection.vue b/src/components/properties/LayoutSection/LayoutSection.vue index 80b577097..45e6f4e73 100644 --- a/src/components/properties/LayoutSection/LayoutSection.vue +++ b/src/components/properties/LayoutSection/LayoutSection.vue @@ -5,6 +5,7 @@ import AutoLayoutControls from '@/components/properties/LayoutSection/AutoLayout import ClipContentControl from '@/components/properties/LayoutSection/ClipContentControl.vue' import FlexControls from '@/components/properties/LayoutSection/FlexControls.vue' import GridControls from '@/components/properties/LayoutSection/GridControls.vue' +import LayoutGridSection from '@/components/properties/LayoutSection/LayoutGridSection.vue' import PaddingControls from '@/components/properties/LayoutSection/PaddingControls.vue' import SizeControls from '@/components/properties/LayoutSection/size/SizeControls.vue' import TextResizingControl from '@/components/properties/LayoutSection/TextResizingControl.vue' @@ -38,6 +39,8 @@ const CONTAINER_TYPES = ['FRAME', 'COMPONENT', 'COMPONENT_SET', 'INSTANCE'] + +