@@ -16,7 +16,7 @@ import { sameTypeMap, UICompBuilder, withDefault } from "comps/generators";
1616import { addMapChildAction } from "comps/generators/sameTypeMap" ;
1717import { NameConfigHidden , withExposingConfigs } from "comps/generators/withExposing" ;
1818import { NameGenerator } from "comps/utils" ;
19- import { Section , sectionNames } from "lowcoder-design" ;
19+ import { Section , controlItem , sectionNames } from "lowcoder-design" ;
2020import { HintPlaceHolder } from "lowcoder-design" ;
2121import _ from "lodash" ;
2222import React from "react" ;
@@ -85,6 +85,7 @@ const ColumnContainer = (props: ColumnContainerProps) => {
8585 { ...props }
8686 emptyRows = { 15 }
8787 hintPlaceholder = { HintPlaceHolder }
88+ radius = { props . style . radius }
8889 style = { props . style }
8990 />
9091 ) ;
@@ -125,7 +126,7 @@ const ResponsiveLayout = (props: ResponsiveLayoutProps) => {
125126 margin : ! _ . isEmpty ( column . margin ) ? column . margin : columnStyle . margin ,
126127 padding : ! _ . isEmpty ( column . padding ) ? column . padding : columnStyle . padding ,
127128 radius : ! _ . isEmpty ( column . radius ) ? column . radius : columnStyle . radius ,
128- border : ! _ . isEmpty ( column . border ) ? column . border : columnStyle . border ,
129+ border : `1px solid ${ ! _ . isEmpty ( column . border ) ? column . border : columnStyle . border } ` ,
129130 background : ! _ . isEmpty ( column . background ) ? column . background : columnStyle . background ,
130131 }
131132 const noOfColumns = columns . length ;
@@ -181,15 +182,15 @@ export const ResponsiveLayoutBaseComp = (function () {
181182 } ) }
182183 { children . autoHeight . getPropertyView ( ) }
183184 </ Section >
184- < Section name = { sectionNames . layout } >
185+ < Section name = { trans ( "responsiveLayout.rowLayout" ) } >
185186 { children . rowBreak . propertyView ( {
186187 label : trans ( "responsiveLayout.rowBreak" )
187188 } ) }
188- { children . matchColumnsHeight . propertyView ( {
189- label : trans ( "responsiveLayout.matchColumnsHeight" )
190- } ) }
191- </ Section >
192- < Section name = { trans ( "responsiveLayout.columnsPerRow" ) } >
189+ { controlItem ( { } , (
190+ < div style = { { marginTop : '8px' } } >
191+ { trans ( "responsiveLayout.columnsPerRow" ) }
192+ </ div >
193+ ) ) }
193194 { children . columnPerRowLG . propertyView ( {
194195 label : trans ( "responsiveLayout.desktop" )
195196 } ) }
@@ -200,7 +201,15 @@ export const ResponsiveLayoutBaseComp = (function () {
200201 label : trans ( "responsiveLayout.mobile" )
201202 } ) }
202203 </ Section >
203- < Section name = { trans ( "responsiveLayout.columnsSpacing" ) } >
204+ < Section name = { trans ( "responsiveLayout.columnsLayout" ) } >
205+ { children . matchColumnsHeight . propertyView ( {
206+ label : trans ( "responsiveLayout.matchColumnsHeight" )
207+ } ) }
208+ { controlItem ( { } , (
209+ < div style = { { marginTop : '8px' } } >
210+ { trans ( "responsiveLayout.columnsSpacing" ) }
211+ </ div >
212+ ) ) }
204213 { children . horizontalSpacing . propertyView ( {
205214 label : trans ( "responsiveLayout.horizontal" )
206215 } ) }
0 commit comments