Skip to content

Commit

Permalink
updated row height range
Browse files Browse the repository at this point in the history
  • Loading branch information
raheeliftikhar5 committed Nov 11, 2024
1 parent 874ede4 commit 97302c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,8 @@ export default function ThemeSettingsSelector(props: ColorConfigProps) {

<Slider
style={{ width: "90%", margin: "8px 5% 0 5%"}}
min={6} // Define the minimum value for the slider
max={20} // Define the maximum value for the slider
min={4} // Define the minimum value for the slider
max={100} // Define the maximum value for the slider
value={parseInt(gridRowHeight || "8")}
onChange={(value) => setGridRowHeight(value.toString())}
onChangeComplete={(value) => gridSizeInputBlur(value.toString())}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ const childrenMap = {
lowcoderCompVersion: withDefault(StringControl, 'latest'),
maxWidth: dropdownInputSimpleControl(OPTIONS, USER_DEFINE, "1920"),
gridColumns: RangeControl.closed(8, 48, 24),
gridRowHeight: RangeControl.closed(6, 20, 8),
gridRowHeight: RangeControl.closed(4, 100, 8),
gridRowCount: withDefault(NumberControl, DEFAULT_ROW_COUNT),
gridPaddingX: withDefault(NumberControl, 20),
gridPaddingY: withDefault(NumberControl, 20),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ export const InnerGrid = React.memo((props: ViewPropsWithSelect) => {
setRowCount(Infinity);
onRowCountChange?.(0);
}
}, [isRowCountLocked, onRowCountChange]);
}, [isRowCountLocked, positionParams.rowHeight, onRowCountChange]);

// log.info("rowCount:", currentRowCount, "rowHeight:", currentRowHeight);

Expand Down

0 comments on commit 97302c1

Please sign in to comment.