mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Tweak barcode overlay
This commit is contained in:
parent
9006fc382f
commit
e1912d6878
1 changed files with 12 additions and 2 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue