diff --git a/Ink Canvas/MainWindow_cs/MW_VideoPresenter.cs b/Ink Canvas/MainWindow_cs/MW_VideoPresenter.cs index 6b7d88ee..cf8be0db 100644 --- a/Ink Canvas/MainWindow_cs/MW_VideoPresenter.cs +++ b/Ink Canvas/MainWindow_cs/MW_VideoPresenter.cs @@ -71,6 +71,7 @@ namespace Ink_Canvas EnsureCameraService(); if (BtnCapturePhoto != null) BtnCapturePhoto.IsEnabled = false; RefreshVideoPresenterDeviceList(); + UpdateBoothResolutionTabState(); if (ToggleBtnPhotoCorrection != null) { @@ -624,6 +625,9 @@ namespace Ink_Canvas CapturedPhotosStackPanel.Children.Clear(); + const double PhotoListImageWidth = 310; + const double PhotoListImageHeight = 180; + foreach (var photo in _capturedPhotos.Take(30)) { var btn = new Button @@ -642,8 +646,9 @@ namespace Ink_Canvas var img = new System.Windows.Controls.Image { Source = photo.Thumbnail, - Stretch = System.Windows.Media.Stretch.UniformToFill, - Height = 90 + Stretch = System.Windows.Media.Stretch.Uniform, + Width = PhotoListImageWidth, + Height = PhotoListImageHeight }; btn.Content = img; CapturedPhotosStackPanel.Children.Add(btn);