This commit is contained in:
2025-03-31 15:05:08 +02:00
parent f100095470
commit 1a69cb0007

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) - (style.borderWidth ?? 0) : 0.0;
// //
double fontOffset = _getTextHeight( double fontOffset = _getTextHeight(
widget.textController.text.isNotEmpty widget.textController.text.isNotEmpty