Open mikara89 opened 2 years ago
You can try to work around this issue by applying a negative margin to the CameraView control on the right and bottom side. In your case, setting the margin on the right to -2 * Width of the page, should strech the control to the expected size. Do it for Height accordingly.
Description
CameraView does not change view dimensions. FillAndExpend and also if I set RequiredWidth and RequiredHeight CameraView stays the same. CameraView when Width and Height are check in debug values are good but preview on screen still 1/3 of screen.
Steps to Reproduce
Expected Behavior
CameraView in Xamerin fill screen with no problem
Actual Behavior
CameraView in MAUI.net does not fill screen.
Basic Information
Version with issue: >=2.0.2-preview1013 Last known good version: N/A IDE: Visual studio 2022 Platform Target Frameworks: iOS: / Android: 31 UWP: / Android Support Library Version: Nuget Packages: Xamarin.CommunityToolkit.MauiCompat Affected Devices: /