E EvgenyB4A Active Member Licensed User Longtime User Sep 16, 2019 #1 Is it possible to restrict the size of the preview images that will not fill full screen?
lucasheer Active Member Licensed User Longtime User Sep 17, 2019 #2 Yes, it is possible. You can set the panel to be any size in your designer. Then when you initialize your canvas, use your custom panel. B4X: cvs.Initialize(pnlDrawing) Upvote 0
Yes, it is possible. You can set the panel to be any size in your designer. Then when you initialize your canvas, use your custom panel. B4X: cvs.Initialize(pnlDrawing)
Erel B4X founder Staff member Licensed User Longtime User Sep 17, 2019 #3 I don't see how the canvas is related here. The answer is correct. You can set the preview panel to whichever size you like. Note that if its width / height ratio will not much the camera set preview ratio then the image will be distorted. Upvote 0
I don't see how the canvas is related here. The answer is correct. You can set the preview panel to whichever size you like. Note that if its width / height ratio will not much the camera set preview ratio then the image will be distorted.
E EvgenyB4A Active Member Licensed User Longtime User Sep 17, 2019 #4 It doesn't help. Still the image from camera is stretched to full screen. Upvote 0
E EvgenyB4A Active Member Licensed User Longtime User Sep 17, 2019 #5 It is solved. It is need to change Panel1 size and left, top coordinates. Upvote 0