Skip to content

Commit

Permalink
布局调整
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqinxuancai committed Mar 14, 2024
1 parent 020d2a2 commit d329cce
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions Aria2Fast/View/WkyTaskListView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,25 @@
xmlns:local="clr-namespace:Aria2Fast.View"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
x:Name="Self"

d:DesignHeight="450"
d:DesignWidth="500"
mc:Ignorable="d">

<Grid>
<Button
x:Name="AddTaskButton"
Width="80"
<StackPanel
Margin="10,8,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Click="AddTaskButton_Click"
Content="添加任务"
IsEnabled="False" />
<!--<TextBox Text="{Binding ViewModel.Text, ElementName=Self, UpdateSourceTrigger=PropertyChanged}" />
<Slider Minimum="0" Maximum="100" Value="{Binding ViewModel.Number, ElementName=Self}" />-->
Orientation="Horizontal">
<Button
x:Name="AddTaskButton"
Width="80"
VerticalAlignment="Top"
Click="AddTaskButton_Click"
Content="添加任务"
IsEnabled="False" />
</StackPanel>

<DataGrid
x:Name="MainDataGrid"
Margin="0,45,0,0"
Expand Down

0 comments on commit d329cce

Please sign in to comment.