考虑在更大的屏幕上可以接受更高尺寸的占用

https://zelikk.blogspot.com/2023/09/v2rayn-lstgroup-maxheight.html
pull/4255/head
crazypeace 2023-09-09 15:59:08 +08:00
parent 40fbbc7c58
commit 34c6c953ac
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ namespace v2rayN.Views
this.Height = SystemParameters.WorkArea.Height;
}
lstGroup.MaxHeight = Math.Floor(SystemParameters.WorkArea.Height * 0.20 / 40) * 40;
_config = LazyConfig.Instance.GetConfig();
App.Current.SessionEnding += Current_SessionEnding;