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