Browse Source

等比例页面放大

tags/录制修改前
zhangxueyang 4 years ago
parent
commit
9de29e098d
1 changed files with 18 additions and 18 deletions
  1. 18
    18
      XHWK.WKTool/XHMicroLessonSystemWindow.xaml

+ 18
- 18
XHWK.WKTool/XHMicroLessonSystemWindow.xaml View File

7
         xmlns:aforge ="clr-namespace:AForge.Controls;assembly=AForge.Controls"
7
         xmlns:aforge ="clr-namespace:AForge.Controls;assembly=AForge.Controls"
8
         xmlns:local="clr-namespace:XHWK.WKTool"
8
         xmlns:local="clr-namespace:XHWK.WKTool"
9
         mc:Ignorable="d"
9
         mc:Ignorable="d"
10
-        Title="星火微课系统" Height="725.8" Width="975" WindowStartupLocation="CenterScreen"
10
+        Title="星火微课系统" Height="871" Width="1170" WindowStartupLocation="CenterScreen"
11
     WindowStyle="None"    AllowsTransparency="True"  Background="#EFF1F8" ShowInTaskbar="True"
11
     WindowStyle="None"    AllowsTransparency="True"  Background="#EFF1F8" ShowInTaskbar="True"
12
    >
12
    >
13
     
13
     
14
     <Viewbox>
14
     <Viewbox>
15
-        <Grid Height="725.8" Width="975">
15
+        <Grid Height="871" Width="1170">
16
             <!--分3行-->
16
             <!--分3行-->
17
             <Grid.RowDefinitions>
17
             <Grid.RowDefinitions>
18
                 <RowDefinition Height="110"/>
18
                 <RowDefinition Height="110"/>
209
                 <Grid.RowDefinitions>
209
                 <Grid.RowDefinitions>
210
                     <RowDefinition Height="90"/>
210
                     <RowDefinition Height="90"/>
211
                     <RowDefinition Height="70"/>
211
                     <RowDefinition Height="70"/>
212
-                    <RowDefinition Height="70"/>
212
+                    <RowDefinition Height="50"/>
213
                     <RowDefinition Height="70"/>
213
                     <RowDefinition Height="70"/>
214
                     <RowDefinition Height="70"/>
214
                     <RowDefinition Height="70"/>
215
                     <RowDefinition Height="70"/>
215
                     <RowDefinition Height="70"/>
216
                     <RowDefinition Height="70"/>
216
                     <RowDefinition Height="70"/>
217
                     <RowDefinition Height="*"/>
217
                     <RowDefinition Height="*"/>
218
                 </Grid.RowDefinitions>
218
                 </Grid.RowDefinitions>
219
-                <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="10,30,0,0">
220
-                    <TextBlock Text="   点阵笔" FontSize="16" Foreground="#2D8CF0"/>
219
+                <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
220
+                    <TextBlock Text="   点阵笔" FontSize="16" Foreground="#2D8CF0" Width="80"/>
221
                     <TextBlock x:Name="txbNotConnecteds"  Text="未连接" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
221
                     <TextBlock x:Name="txbNotConnecteds"  Text="未连接" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
222
                 </StackPanel>
222
                 </StackPanel>
223
-                <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="10,0,0,0">
224
-                    <TextBlock Text="视频格式" FontSize="16" Foreground="#2D8CF0"/>
223
+                <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
224
+                    <TextBlock Text="视频格式" FontSize="16" Foreground="#2D8CF0" Width="80"/>
225
                     <RadioButton x:Name="rbnMP4" Cursor="Hand" Content="MP4" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
225
                     <RadioButton x:Name="rbnMP4" Cursor="Hand" Content="MP4" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
226
                     <RadioButton x:Name="rbnFLV" Cursor="Hand" Content="FLV" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
226
                     <RadioButton x:Name="rbnFLV" Cursor="Hand" Content="FLV" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
227
                     <RadioButton x:Name="rbnAVI" Cursor="Hand" Content="AVI" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
227
                     <RadioButton x:Name="rbnAVI" Cursor="Hand" Content="AVI" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
228
                 </StackPanel>
228
                 </StackPanel>
229
-                <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Left" Margin="10,0,0,0">
230
-                    <TextBlock Text="头像位置" FontSize="16" Foreground="#2D8CF0"/>
229
+                <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
230
+                    <TextBlock Text="头像位置" FontSize="16" Foreground="#2D8CF0" Width="80"/>
231
                     <RadioButton Cursor="Hand" x:Name="rbnRight" Content="右上" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
231
                     <RadioButton Cursor="Hand" x:Name="rbnRight" Content="右上" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
232
                     <RadioButton Cursor="Hand" x:Name="rbnRightUnder" Content="右下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
232
                     <RadioButton Cursor="Hand" x:Name="rbnRightUnder" Content="右下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
233
                     <RadioButton Cursor="Hand" x:Name="rbnLeft" Content="左上" FontSize="14" Foreground="#333333" Margin="20,2,0,0" />
233
                     <RadioButton Cursor="Hand" x:Name="rbnLeft" Content="左上" FontSize="14" Foreground="#333333" Margin="20,2,0,0" />
234
                     <RadioButton Cursor="Hand" x:Name="rbnLeftUnder" Content="左下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
234
                     <RadioButton Cursor="Hand" x:Name="rbnLeftUnder" Content="左下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
235
                 </StackPanel>
235
                 </StackPanel>
236
-                <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="10,0,0,0">
237
-                    <TextBlock Text="视频声音" FontSize="16" Foreground="#2D8CF0"/>
236
+                <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0" Visibility="Collapsed">
237
+                    <TextBlock Text="视频声音" FontSize="16" Foreground="#2D8CF0" Width="80"/>
238
                     <RadioButton x:Name="rbnY" Cursor="Hand" Content="有" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
238
                     <RadioButton x:Name="rbnY" Cursor="Hand" Content="有" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
239
                     <RadioButton x:Name="rbnN" Cursor="Hand" Content="无" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
239
                     <RadioButton x:Name="rbnN" Cursor="Hand" Content="无" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
240
                 </StackPanel>
240
                 </StackPanel>
241
-                <StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Left" Margin="10,0,0,0">
242
-                    <TextBlock x:Name="txbFilePath" Text="文件路径" FontSize="16" Foreground="#2D8CF0" Padding="2,36,10,0"/>
241
+                <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
242
+                    <TextBlock x:Name="txbFilePath" Text="文件路径" FontSize="16" Width="80"  Foreground="#2D8CF0" Padding="2,26,10,0"/>
243
                     <!--输入框-->
243
                     <!--输入框-->
244
                     <Border Background="#CDD6E0" Width="525" Height="43" CornerRadius="3">
244
                     <Border Background="#CDD6E0" Width="525" Height="43" CornerRadius="3">
245
                         <Label x:Name="txbStoragePath" Content="D:\" FontSize="16" Foreground="#333333" Padding="5,12,2,2" Width="523" Height="42" BorderBrush="{x:Null}" BorderThickness="0"/>
245
                         <Label x:Name="txbStoragePath" Content="D:\" FontSize="16" Foreground="#333333" Padding="5,12,2,2" Width="523" Height="42" BorderBrush="{x:Null}" BorderThickness="0"/>
262
                         </Button.Template>
262
                         </Button.Template>
263
                     </Button>
263
                     </Button>
264
                 </StackPanel>
264
                 </StackPanel>
265
-                <StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Left" Margin="10,30,0,0">
266
-                    <TextBlock Text="    版本号" FontSize="16" Foreground="#2D8CF0"/>
265
+                <StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
266
+                    <TextBlock Text="    版本号" FontSize="16" Width="80" Foreground="#2D8CF0"/>
267
                     <TextBlock Text="V0.0.0" FontSize="16" Foreground="#333333" Padding="10,0,0,0"/>
267
                     <TextBlock Text="V0.0.0" FontSize="16" Foreground="#333333" Padding="10,0,0,0"/>
268
                 </StackPanel>
268
                 </StackPanel>
269
-                <StackPanel Grid.Row="6" Orientation="Horizontal" HorizontalAlignment="Left" Margin="10,30,0,0">
270
-                    <TextBlock Text="版权所有" FontSize="16" Foreground="#2D8CF0"/>
269
+                <StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
270
+                    <TextBlock Text="版权所有" FontSize="16" Width="80" Foreground="#2D8CF0"/>
271
                     <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
271
                     <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
272
                 </StackPanel>
272
                 </StackPanel>
273
                 <!--第四行 开始按钮-->
273
                 <!--第四行 开始按钮-->
274
-                <Button Cursor="Hand" Grid.Row="7" x:Name="btnSave" Content="保存" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="115" Height="45" Margin="10,0,10,0" Click="BtnSave_Click">
274
+                <Button Cursor="Hand" Grid.Row="6" x:Name="btnSave" Content="保存" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="115" Height="45" Margin="10,0,10,0" Click="BtnSave_Click">
275
                     <Button.Template>
275
                     <Button.Template>
276
                         <ControlTemplate TargetType="{x:Type Button}">
276
                         <ControlTemplate TargetType="{x:Type Button}">
277
                             <Border
277
                             <Border

Loading…
Cancel
Save