2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-27 21:16:48 +00:00

Tweak barcode overlay

This commit is contained in:
Oliver Walters 2024-12-11 22:31:01 +11:00
parent 9006fc382f
commit e1912d6878

View File

@ -185,7 +185,12 @@ class _CameraBarcodeControllerState extends InvenTreeBarcodeControllerState {
child: Align( child: Align(
alignment: Alignment.topCenter, alignment: Alignment.topCenter,
child: Padding( child: Padding(
padding: EdgeInsets.all(10), padding: EdgeInsets.only(
left: 10,
right: 10,
top: 75,
bottom: 10
),
child: Text( child: Text(
widget.handler.getOverlayText(context), widget.handler.getOverlayText(context),
style: TextStyle( style: TextStyle(
@ -213,7 +218,12 @@ class _CameraBarcodeControllerState extends InvenTreeBarcodeControllerState {
child: Align( child: Align(
alignment: Alignment.bottomCenter, alignment: Alignment.bottomCenter,
child: Padding( child: Padding(
padding: EdgeInsets.all(10), padding: EdgeInsets.only(
left: 10,
right: 10,
top: 10,
bottom: 75
),
child: Text( child: Text(
text, text,
textAlign: TextAlign.center, textAlign: TextAlign.center,