File tree Expand file tree Collapse file tree 1 file changed +22
-18
lines changed
Expand file tree Collapse file tree 1 file changed +22
-18
lines changed Original file line number Diff line number Diff line change 1010 x : DataType =" vm:MainWindowViewModel"
1111 x : Class =" SharpFM.App.MainWindow"
1212 Title =" SharpFM" >
13- <Grid >
13+ <DockPanel >
14+ <Menu DockPanel.Dock=" Top" >
15+ <MenuItem Header =" _File" >
16+ <MenuItem Header =" _New"
17+ Command =" {Binding NewEmptyItemCommand}" />
18+ <Separator />
19+ <MenuItem Header =" _Exit" />
20+ </MenuItem >
21+ <MenuItem Header =" _Edit" >
22+ <MenuItem Header =" Copy"
23+ Command =" {Binding CopySelectedToClipCommand}" />
24+ <MenuItem Header =" Paste"
25+ Command =" {Binding PasteTextCommand}" />
26+ </MenuItem >
27+ </Menu >
28+ <TextBlock />
29+ <Grid >
1430 <Grid .ColumnDefinitions>
15- <ColumnDefinition Width =" 100" />
16- <ColumnDefinition Width =" 200" />
31+ <ColumnDefinition Width =" 225" />
1732 <ColumnDefinition Width =" *" />
1833 </Grid .ColumnDefinitions>
1934
20- <StackPanel Grid.Column=" 0" >
21- <Button Command =" {Binding NewEmptyItemCommand}" >
22- New
23- </Button >
24-
25- <Button Command =" {Binding PasteTextCommand}" >
26- Paste
27- </Button >
28-
29- <Button Command =" {Binding CopySelectedToClipCommand}" >
30- Copy
31- </Button >
32- </StackPanel >
3335 <ListBox
34- Grid.Column=" 1 "
36+ Grid.Column=" 0 "
3537 ItemsSource =" {Binding Keys}"
3638 SelectedItem =" {Binding SelectedClip}" >
3739 <ListBox .ItemTemplate>
5254 </ListBox >
5355
5456 <AvaloniaEdit : TextEditor
55- Grid.Column=" 2 "
57+ Grid.Column=" 1 "
5658 x : Name =" avaloniaEditor"
5759 SyntaxHighlighting =" Xml"
5860 WordWrap =" False"
6466 </AvaloniaEdit : TextEditor >
6567
6668 </Grid >
69+ </DockPanel >
70+
6771</Window >
You can’t perform that action at this time.
0 commit comments