@@ -16,7 +16,7 @@ import { sameTypeMap, UICompBuilder, withDefault } from "comps/generators";
16
16
import { addMapChildAction } from "comps/generators/sameTypeMap" ;
17
17
import { NameConfigHidden , withExposingConfigs } from "comps/generators/withExposing" ;
18
18
import { NameGenerator } from "comps/utils" ;
19
- import { Section , sectionNames } from "lowcoder-design" ;
19
+ import { Section , controlItem , sectionNames } from "lowcoder-design" ;
20
20
import { HintPlaceHolder } from "lowcoder-design" ;
21
21
import _ from "lodash" ;
22
22
import React from "react" ;
@@ -85,6 +85,7 @@ const ColumnContainer = (props: ColumnContainerProps) => {
85
85
{ ...props }
86
86
emptyRows = { 15 }
87
87
hintPlaceholder = { HintPlaceHolder }
88
+ radius = { props . style . radius }
88
89
style = { props . style }
89
90
/>
90
91
) ;
@@ -125,7 +126,7 @@ const ResponsiveLayout = (props: ResponsiveLayoutProps) => {
125
126
margin : ! _ . isEmpty ( column . margin ) ? column . margin : columnStyle . margin ,
126
127
padding : ! _ . isEmpty ( column . padding ) ? column . padding : columnStyle . padding ,
127
128
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 } ` ,
129
130
background : ! _ . isEmpty ( column . background ) ? column . background : columnStyle . background ,
130
131
}
131
132
const noOfColumns = columns . length ;
@@ -181,15 +182,15 @@ export const ResponsiveLayoutBaseComp = (function () {
181
182
} ) }
182
183
{ children . autoHeight . getPropertyView ( ) }
183
184
</ Section >
184
- < Section name = { sectionNames . layout } >
185
+ < Section name = { trans ( "responsiveLayout.rowLayout" ) } >
185
186
{ children . rowBreak . propertyView ( {
186
187
label : trans ( "responsiveLayout.rowBreak" )
187
188
} ) }
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
+ ) ) }
193
194
{ children . columnPerRowLG . propertyView ( {
194
195
label : trans ( "responsiveLayout.desktop" )
195
196
} ) }
@@ -200,7 +201,15 @@ export const ResponsiveLayoutBaseComp = (function () {
200
201
label : trans ( "responsiveLayout.mobile" )
201
202
} ) }
202
203
</ 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
+ ) ) }
204
213
{ children . horizontalSpacing . propertyView ( {
205
214
label : trans ( "responsiveLayout.horizontal" )
206
215
} ) }
0 commit comments