refactor: notification popup uses the same text presenter with git command log viewer (#1149)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-17 18:21:55 +08:00
parent 231010abc6
commit 090b64d68d
No known key found for this signature in database
4 changed files with 159 additions and 116 deletions

View file

@ -141,9 +141,11 @@
</Button>
</Grid>
<ScrollViewer Grid.Row="1" Margin="8" MaxHeight="200" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
<TextBlock Margin="4,2" TextWrapping="Wrap" Text="{Binding Message}"/>
</ScrollViewer>
<v:CommandLogContentPresenter Grid.Row="1"
Margin="8"
Padding="2"
MaxHeight="200"
PureText="{Binding Message}"/>
</Grid>
</Border>
</Border>