Skip to content

Commit 8a69927

Browse files
committed
Make it look a bit more compact
1 parent dd3f273 commit 8a69927

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/components/FixedTarget/CollectionSetupFt.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function RunButtons(props: ParametersProps) {
6868
);
6969
}
7070

71-
/**Main collection input window for the panel. */
71+
/**Main collection input window for the fixed target panel. */
7272
export function CollectionSetupFt() {
7373
const [subDir, setSubDir] = React.useState<string>("path/to/dir");
7474
const [chipName, setChipName] = React.useState<string>("test");
@@ -87,7 +87,7 @@ export function CollectionSetupFt() {
8787
const [chipFormat, setChipFormat] = React.useState<number[]>([]);
8888

8989
return (
90-
<Box sx={{ flexGrow: 1 }}>
90+
<Box sx={{ flexGrow: 1, marginRight: 10, marginLeft: 10 }}>
9191
<Grid2 container spacing={2}>
9292
<Grid2 size={4.5}>
9393
<Stack direction={"column"} spacing={1} alignItems={"center"}>
@@ -130,12 +130,12 @@ export function CollectionSetupFt() {
130130
</Stack>
131131
</Grid2>
132132
<Grid2 size={3}>
133-
<Stack spacing={1} direction={"column"}>
133+
<Stack spacing={1} direction={"column"} alignItems={"center"}>
134134
<Tooltip
135135
title="Is this a pump probe experiment? Choose the setting."
136136
placement="right"
137137
>
138-
<FormControl size="small" style={{ width: 150 }}>
138+
<FormControl size="small" style={{ width: 180 }}>
139139
<InputLabel id="pp-label">Pump Probe</InputLabel>
140140
<Select
141141
labelId="pp-label"

src/components/FixedTarget/PumpProbeComponents.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export function PumpProbeOptions({
138138
label="Laser Dwell (s)"
139139
defaultValue={laserDwell}
140140
onChange={(e) => setLaserDwell(Number(e.target.value))}
141-
style={{ width: 150 }}
141+
style={{ width: 180 }}
142142
/>
143143
</Tooltip>
144144
<Tooltip
@@ -150,7 +150,7 @@ export function PumpProbeOptions({
150150
label="Laser Delay (s)"
151151
defaultValue={0.0}
152152
onChange={(e) => setLaserDelay(Number(e.target.value))}
153-
style={{ width: 150 }}
153+
style={{ width: 180 }}
154154
/>
155155
</Tooltip>
156156
<Tooltip
@@ -162,7 +162,7 @@ export function PumpProbeOptions({
162162
label="Pre-Pump Exposure Time (s)"
163163
defaultValue={0.0}
164164
onChange={(e) => setPrePumpExp(Number(e.target.value))}
165-
style={{ width: 150 }}
165+
style={{ width: 180 }}
166166
/>
167167
</Tooltip>
168168
<Tooltip

0 commit comments

Comments
 (0)