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

https://zelikk.blogspot.com/2023/09/v2rayn-lstgroup-maxheight.html
This commit is contained in:
crazypeace 2023-09-09 15:59:08 +08:00
parent 40fbbc7c58
commit 34c6c953ac

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;