improve:展台
This commit is contained in:
@@ -71,6 +71,7 @@ namespace Ink_Canvas
|
|||||||
EnsureCameraService();
|
EnsureCameraService();
|
||||||
if (BtnCapturePhoto != null) BtnCapturePhoto.IsEnabled = false;
|
if (BtnCapturePhoto != null) BtnCapturePhoto.IsEnabled = false;
|
||||||
RefreshVideoPresenterDeviceList();
|
RefreshVideoPresenterDeviceList();
|
||||||
|
UpdateBoothResolutionTabState();
|
||||||
|
|
||||||
if (ToggleBtnPhotoCorrection != null)
|
if (ToggleBtnPhotoCorrection != null)
|
||||||
{
|
{
|
||||||
@@ -624,6 +625,9 @@ namespace Ink_Canvas
|
|||||||
|
|
||||||
CapturedPhotosStackPanel.Children.Clear();
|
CapturedPhotosStackPanel.Children.Clear();
|
||||||
|
|
||||||
|
const double PhotoListImageWidth = 310;
|
||||||
|
const double PhotoListImageHeight = 180;
|
||||||
|
|
||||||
foreach (var photo in _capturedPhotos.Take(30))
|
foreach (var photo in _capturedPhotos.Take(30))
|
||||||
{
|
{
|
||||||
var btn = new Button
|
var btn = new Button
|
||||||
@@ -642,8 +646,9 @@ namespace Ink_Canvas
|
|||||||
var img = new System.Windows.Controls.Image
|
var img = new System.Windows.Controls.Image
|
||||||
{
|
{
|
||||||
Source = photo.Thumbnail,
|
Source = photo.Thumbnail,
|
||||||
Stretch = System.Windows.Media.Stretch.UniformToFill,
|
Stretch = System.Windows.Media.Stretch.Uniform,
|
||||||
Height = 90
|
Width = PhotoListImageWidth,
|
||||||
|
Height = PhotoListImageHeight
|
||||||
};
|
};
|
||||||
btn.Content = img;
|
btn.Content = img;
|
||||||
CapturedPhotosStackPanel.Children.Add(btn);
|
CapturedPhotosStackPanel.Children.Add(btn);
|
||||||
|
|||||||
Reference in New Issue
Block a user