This commit is contained in:
Gil Zhang
2024-04-18 20:40:43 +08:00
parent 1832b0f2ac
commit ece87aa7b8
2 changed files with 13 additions and 7 deletions
@@ -20,7 +20,7 @@
</ic:EventTriggerBehavior>
</i:Interaction.Behaviors>
<Grid x:Name="LayoutRoot" Background="White">
<Image Source="{x:Bind ViewModel.ClockTitleConfig.CustomHw75ImagePath, Mode=OneWay}" />
<Image Width="128" Height="296" Source="{x:Bind ViewModel.ClockTitleConfig.CustomHw75ImagePath, Mode=OneWay}" />
<Viewbox>
<Grid Width="128" Height="296">
<Grid.RowDefinitions>
@@ -15,8 +15,17 @@
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<StackPanel Grid.Column="1" Margin="8">
<controls:CameraPreview
x:Name="CameraPreviewControl"
Width="400"
VerticalAlignment="Top"
MaxHeight="400"
CornerRadius="8"
Margin="8"
Loaded="CameraPreviewControl_Loaded" />
<StackPanel Grid.Column="1" Margin="8" VerticalAlignment="Top">
<TextBlock
x:Name="Hand"
HorizontalAlignment="Center"
@@ -33,11 +42,8 @@
FontFamily="Segoe UI Emoji"
FontSize="120"
Glyph="{x:Bind ViewModel.FaceIcon, Mode=OneWay}" />
<controls:CameraPreview
x:Name="CameraPreviewControl"
Width="400"
Loaded="CameraPreviewControl_Loaded" />
</StackPanel>
<bot3D:ElectronBot3D Height="400" />
<bot3D:ElectronBot3D Grid.Column="2" VerticalAlignment="Top" Margin="8" Height="400" Width="300" />
</Grid>
</Page>