This commit is contained in:
2025-03-31 15:01:50 +02:00
parent 43bf86b86b
commit 74436a6007

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 : 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