🐛 修复列表显示不全的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

@@ -34,6 +34,14 @@ namespace GeekDesk.Converts
{
return (config.WindowWidth - config.MenuCardWidth) - 20;
}
else if (WidthTypeEnum.RIGHT_CARD_40 == type)
{
return (config.WindowWidth - config.MenuCardWidth) - 40;
}
else if (WidthTypeEnum.RIGHT_CARD_70 == type)
{
return (config.WindowWidth - config.MenuCardWidth) - 70;
}
return config.WindowWidth;
}