Place build-in barcode scanning window in portion of screen

If you are using version 2.2 then you have to drag in the built in BarcodeScanner component

bild