Skip to content

Commit

Permalink
fix: 调整隐私协议文本不可编辑与滚动条距离
Browse files Browse the repository at this point in the history
  • Loading branch information
Shizuku-Nanami committed Sep 29, 2024
1 parent 2f05530 commit e7fdb42
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SYSTools/Pages/About.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,16 @@ private async void Privacy_Click(object sender, RoutedEventArgs e)
// 创建并显示ContentDialog
iNKORE.UI.WPF.Modern.Controls.ContentDialog dialog = new iNKORE.UI.WPF.Modern.Controls.ContentDialog
{
Title = "隐私协议",
Title = "SYSTools 隐私协议",
Content = new System.Windows.Controls.TextBox
{
Text = txtContent,
AcceptsReturn = true,
AcceptsTab = true,
TextWrapping = TextWrapping.Wrap,
VerticalScrollBarVisibility = ScrollBarVisibility.Auto
VerticalScrollBarVisibility = ScrollBarVisibility.Auto,
IsReadOnly = true,
Padding = new Thickness(10, 0, 20, 0)
},

CloseButtonText = "关闭",
Expand Down

0 comments on commit e7fdb42

Please sign in to comment.