mirror of
https://github.com/Iconica-Development/flutter_availability.git
synced 2025-05-19 05:03:44 +02:00
fix: use proper flex ratio for determining the width of the time break duration input
This commit is contained in:
parent
96c16c09ba
commit
c004417b36
1 changed files with 7 additions and 3 deletions
|
@ -328,15 +328,19 @@ class _AvailabilityBreakSelectionDialogState
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
const Spacer(),
|
const Spacer(
|
||||||
|
flex: 3,
|
||||||
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
flex: 2,
|
flex: 4,
|
||||||
child: DurationInputField(
|
child: DurationInputField(
|
||||||
initialValue: _breakViewModel.submittedDuration,
|
initialValue: _breakViewModel.submittedDuration,
|
||||||
onDurationChanged: onUpdateDuration,
|
onDurationChanged: onUpdateDuration,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(
|
||||||
|
flex: 3,
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 24),
|
const SizedBox(height: 24),
|
||||||
|
|
Loading…
Reference in a new issue