This commit is contained in:
末城via 2023-06-05 16:48:06 +08:00
parent d557f929bd
commit ddc0467f3f

View File

@ -188,14 +188,8 @@
<Border Background="{DynamicResource DARKPrimary}"
CornerRadius="5">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Border Margin="10"
Width="{Binding ActualHeight, RelativeSource={RelativeSource Self}}" />
<Grid Grid.Column="1"
Margin="0,10,10,0">
Margin="10,10,10,0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
@ -208,14 +202,18 @@
FontSize="16"
Foreground="{DynamicResource DARKPrimaryText}"
Text="{Binding DisplayName}" />
<TextBlock Grid.Row="1"
Margin="0,7,0,0"
TextWrapping="Wrap"
VerticalAlignment="Center"
TextTrimming="CharacterEllipsis"
FontSize="12"
Foreground="{DynamicResource DARKPrimaryText}"
Text="{Binding Description}" />
<ScrollViewer Grid.Row="1"
Grid.RowSpan="4"
Margin="0,7,0,0"
pu:ScrollBarHelper.ThumbBackground="#44FFFFFF"
pu:ScrollBarHelper.HoverThumbBackground="#88FFFFFF">
<TextBlock TextWrapping="Wrap"
Background="Transparent"
FontSize="12"
Padding="0"
Foreground="{DynamicResource DARKPrimaryText}"
Text="阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴" />
</ScrollViewer>
</Grid>
</Grid>
</Border>
@ -227,7 +225,8 @@
</Grid.ColumnDefinitions>
<Border x:Name="BdrImage"
Margin="10,10,0,10"
CornerRadius="5">
CornerRadius="5"
Visibility="{Binding IsChecked,Converter={StaticResource {x:Static pu:ConverterKeys.TrueToCollapseConverter}}, ElementName=TbtnDetail}">
<Image Source="{Binding ImageShot}"
Stretch="UniformToFill"/>
</Border>