🐛 修复列表显示不全的bug

This commit is contained in:
BookerLiu
2023-04-17 13:26:58 +08:00
parent dd41635199
commit 6072832654
3 changed files with 11 additions and 4 deletions

View File

@@ -186,9 +186,7 @@
>
<Border BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderBrush}"
Width="{Binding AppConfig.WindowWidth, Mode=OneWay,
Converter={StaticResource GetWidthByWWConvert},
ConverterParameter={x:Static cst:WidthTypeEnum.RIGHT_CARD_40}}"
>
<ItemsPresenter/>
</Border>
@@ -212,7 +210,7 @@
VirtualizingPanel.ScrollUnit="Pixel"
Width="{Binding AppConfig.WindowWidth, Mode=OneWay,
Converter={StaticResource GetWidthByWWConvert},
ConverterParameter={x:Static cst:WidthTypeEnum.RIGHT_CARD_40}}"
ConverterParameter={x:Static cst:WidthTypeEnum.RIGHT_CARD_70}}"
/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>