This commit is contained in:
2025-03-31 15:03:09 +02:00
parent 74436a6007
commit f100095470

View File

@@ -160,7 +160,7 @@ class _AstromicFieldBaseState extends State<AstromicFieldBase> {
// //
double providedPadding = style.contentPadding.vertical; double providedPadding = style.contentPadding.vertical;
// //
double borderOffset = (forceRespectBorder ?? _config.respectBorderWidthPadding) ? (_finalBorderShape(style)?.borderSide.strokeInset ?? 0.0) * 2 : 0.0; double borderOffset = (forceRespectBorder ?? _config.respectBorderWidthPadding) ? (_finalBorderShape(style)?.borderSide.strokeInset ?? 0.0) / 2 : 0.0;
// //
double fontOffset = _getTextHeight( double fontOffset = _getTextHeight(
widget.textController.text.isNotEmpty widget.textController.text.isNotEmpty