diff --git a/Frontend/lib/mih_components/mih_package_components/mih_numeric_stepper.dart b/Frontend/lib/mih_components/mih_package_components/mih_numeric_stepper.dart index ea14b2a0..43ba2f03 100644 --- a/Frontend/lib/mih_components/mih_package_components/mih_numeric_stepper.dart +++ b/Frontend/lib/mih_components/mih_package_components/mih_numeric_stepper.dart @@ -53,7 +53,7 @@ class _MihNumericStepperState extends State { style: TextStyle( fontWeight: FontWeight.bold, color: widget.fillColor, - fontSize: 15, + fontSize: 18, ), ), ], @@ -114,14 +114,15 @@ class _MihNumericStepperState extends State { ), ), Visibility( - visible: _currentValue < (widget.minValue ?? 0), + visible: _currentValue < (widget.minValue ?? 0) || + _currentValue > widget.maxValue!, child: const SizedBox( height: 21, ), ), ], ), - const SizedBox(width: 5), + const SizedBox(width: 15), Expanded( child: MihTextFormField( width: widget.width, @@ -132,6 +133,7 @@ class _MihNumericStepperState extends State { requiredText: widget.requiredText, readOnly: true, numberMode: true, + textIputAlignment: TextAlign.center, validator: (value) { if (widget.validationOn) { return MihValidationServices().validateNumber( @@ -141,6 +143,7 @@ class _MihNumericStepperState extends State { }, ), ), + const SizedBox(width: 10), Column( children: [ Container( @@ -193,9 +196,10 @@ class _MihNumericStepperState extends State { ), ), Visibility( - visible: _currentValue < (widget.minValue ?? 0), + visible: _currentValue < (widget.minValue ?? 0) || + _currentValue > widget.maxValue!, child: const SizedBox( - height: 20, + height: 21, ), ), ],