Android Question Barcode Reader Rectangle position and offset


Licensed User
Hi All, I just came across this thread while searching for a good Barcode Reader which can read very small barcode stickers, i found Erel's example using the CameraEx class which seems to work very good for my purpose, however i switched the orientation from landscape to portrait, i also included @Erel's suggestion here to account for that change, however the rectangle seems to be offset as you guys can see in the image below the rectangle appears to the right side of the Barcode label, does anyone know how to fix this, i know i can manipulate it by adding some dip to each side of the rectangle but will this be enough for it to work on every phone?

I also changed the panel's size and am using a preview size of 640x480, my plan is to only show a small window for the preview, i don't want to use the whole screen for preview.


Any ideas, thanks everyone in advanced.