dock panel
This commit is contained in:
parent
548445241c
commit
3d300f363a
@ -9,41 +9,54 @@
|
|||||||
xmlns:sys="clr-namespace:System;assembly=System.Runtime"
|
xmlns:sys="clr-namespace:System;assembly=System.Runtime"
|
||||||
Icon="/Assets/avalonia-logo.ico"
|
Icon="/Assets/avalonia-logo.ico"
|
||||||
Title="btd_pdf_avalonia"
|
Title="btd_pdf_avalonia"
|
||||||
Width="1200" Height="800"
|
Background="AliceBlue"
|
||||||
|
Width="800" Height="600"
|
||||||
MinWidth="800"
|
MinWidth="800"
|
||||||
MinHeight="600"
|
MinHeight="600"
|
||||||
ExtendClientAreaToDecorationsHint="True"
|
|
||||||
>
|
>
|
||||||
<Design.DataContext>
|
<Design.DataContext>
|
||||||
<vm:MainWindowViewModel/>
|
<vm:MainWindowViewModel/>
|
||||||
</Design.DataContext>
|
</Design.DataContext>
|
||||||
|
<DockPanel>
|
||||||
<Grid ColumnDefinitions="100,150,4*" RowDefinitions="Auto,Auto,Auto,Auto,Auto" Margin="8" Name="ggGrid">
|
<Grid DockPanel.Dock="Top" ColumnDefinitions="100,150,4*" RowDefinitions="Auto,Auto,Auto" Name="ggGrid">
|
||||||
<Button Name="btnOpenFile" Content="Open File" Click="OpenFile_Click" Grid.Row="0" Grid.Column="0"/>
|
<Button Name="btnOpenFile"
|
||||||
<TextBlock Text="{Binding SourcePath}" FontSize="18" Grid.Row="0" Grid.Column="1" />
|
Content="Open File"
|
||||||
|
Click="OpenFile_Click"
|
||||||
<Label
|
Grid.Row="0" Grid.Column="0"
|
||||||
Grid.Row="1"
|
Margin="10 10 0 0"
|
||||||
|
/>
|
||||||
|
<TextBlock Name="tbSourcePath"
|
||||||
|
Text="{Binding SourcePath}"
|
||||||
|
FontSize="18"
|
||||||
|
Grid.Row="0" Grid.Column="1"
|
||||||
|
Grid.ColumnSpan="2"
|
||||||
|
Margin="10 10 0 0"
|
||||||
|
/>
|
||||||
|
<Label Name="lbFileType"
|
||||||
|
Grid.Row="1" Grid.Column="0"
|
||||||
Grid.ColumnSpan="2"
|
Grid.ColumnSpan="2"
|
||||||
FontSize="18"
|
FontSize="18"
|
||||||
>
|
|
||||||
File Type:
|
|
||||||
</Label>
|
|
||||||
<ListBox
|
|
||||||
Name="lbParsers"
|
|
||||||
FontSize="8"
|
|
||||||
Margin="10 0 0 0"
|
Margin="10 0 0 0"
|
||||||
Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2"
|
Content="File Type:"
|
||||||
|
/>
|
||||||
|
<ListBox Name="lbParsers"
|
||||||
|
Margin="10 0 0 0"
|
||||||
|
Grid.Row="2" Grid.Column="0"
|
||||||
|
Grid.ColumnSpan="2"
|
||||||
Items="{Binding Parsers}"
|
Items="{Binding Parsers}"
|
||||||
SelectedItem="{Binding SelectedParser}"
|
SelectedItem="{Binding SelectedParser}"
|
||||||
SelectedIndex="0"
|
SelectedIndex="0"
|
||||||
/>
|
/>
|
||||||
<TextBox Grid.Row="1" Grid.Column="2" Grid.RowSpan="4" Margin="10 0 0 0">
|
<TextBox Name="tbContents"
|
||||||
|
Grid.Row="1" Grid.Column="2"
|
||||||
|
Grid.RowSpan="2"
|
||||||
|
Margin="10 0 10 0"
|
||||||
|
/>
|
||||||
|
|
||||||
</TextBox>
|
|
||||||
|
|
||||||
<TextBox Grid.Row="3" Grid.Column="0" Margin="10 0 0 0">
|
|
||||||
|
|
||||||
</TextBox>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
<TextBox Margin="10">
|
||||||
|
temp for webview
|
||||||
|
</TextBox>
|
||||||
|
</DockPanel>
|
||||||
</Window>
|
</Window>
|
||||||
|
Loading…
Reference in New Issue
Block a user