Skip to content

Commit

Permalink
单独添加 SimpleStackPanel (ModernWpfUI),更新了几个 Nuget 包
Browse files Browse the repository at this point in the history
  • Loading branch information
STBBRD committed Dec 23, 2023
1 parent 96c2cc6 commit e6a8d0b
Show file tree
Hide file tree
Showing 5 changed files with 247 additions and 53 deletions.
20 changes: 10 additions & 10 deletions ZongziTEK_Blackboard_Sticker/LauncherEditor.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="http://schemas.modernwpf.com/2019"
xmlns:local="clr-namespace:ZongziTEK_Blackboard_Sticker"
xmlns:local="clr-namespace:ZongziTEK_Blackboard_Sticker.Resources"
mc:Ignorable="d"
Title="ZongziTEK 黑板贴 - 启动台编辑器" Height="450" Width="800" MinHeight="450" MinWidth="800"
ui:WindowHelper.UseModernWindowStyle="True"
Expand All @@ -14,21 +14,21 @@
<TextBlock Text="编辑启动台" Margin="24,12,24,12" FontSize="32"/>
<ui:ProgressBar Name="ListProgressBar" IsIndeterminate="True" Margin="48" Visibility="Collapsed"/>
<ScrollViewer Name="ListScrollViewer" Margin="24,64,24,64" PanningMode="VerticalOnly">
<ui:SimpleStackPanel Name="ListStackPanel" Spacing="8"/>
<local:SimpleStackPanel x:Name="ListStackPanel" Spacing="8"/>
</ScrollViewer>
<ui:SimpleStackPanel HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="24,12,24,12" Spacing="8" Orientation="Horizontal" >
<local:SimpleStackPanel HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="24,12,24,12" Spacing="8" Orientation="Horizontal" >
<Button Content="刷新列表" Width="80" Click="ButtonRefresh_Click"/>
<Button Content="新建" Width="80" Click="ButtonNew_Click"/>
</ui:SimpleStackPanel>
</local:SimpleStackPanel>

<Border Name="BorderNew" Background="#fff3f3f3" Visibility="Collapsed">
<Grid>
<ui:SimpleStackPanel Margin="24,12,24,12" Spacing="8">
<local:SimpleStackPanel Margin="24,12,24,12" Spacing="8">
<TextBlock Text="新建项" FontSize="32"/>
<TextBlock Text="实验性功能,部分文件添加后可能不会显示在启动台中" Foreground="Gray"/>
</ui:SimpleStackPanel>
</local:SimpleStackPanel>
<ScrollViewer Margin="24,84,24,64" PanningMode="VerticalOnly">
<ui:SimpleStackPanel Spacing="8">
<local:SimpleStackPanel Spacing="8">
<TextBlock Text="文件路径" FontSize="16"/>
<Grid Name="GridDataLocation">
<Grid.ColumnDefinitions>
Expand All @@ -41,12 +41,12 @@

<TextBlock Text="名称" FontSize="16"/>
<TextBox Name="TextBoxLinkName"/>
</ui:SimpleStackPanel>
</local:SimpleStackPanel>
</ScrollViewer>
<ui:SimpleStackPanel HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="24,12,24,12" Spacing="8" Orientation="Horizontal" >
<local:SimpleStackPanel HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="24,12,24,12" Spacing="8" Orientation="Horizontal" >
<Button Name="ButtonCancelNew" Content="取消" Width="80" Click="ButtonCancelNew_Click"/>
<Button Name="ButtonSaveNew" Content="保存" Background="#ff0078d7" Width="80" Foreground="White" Click="ButtonSaveNew_Click"/>
</ui:SimpleStackPanel>
</local:SimpleStackPanel>
</Grid>
</Border>
</Grid>
Expand Down
Loading

0 comments on commit e6a8d0b

Please sign in to comment.