diff --git a/v2rayN/v2rayN/Views/MainWindow.xaml.cs b/v2rayN/v2rayN/Views/MainWindow.xaml.cs index 9ff4bea0..b7ea9afb 100644 --- a/v2rayN/v2rayN/Views/MainWindow.xaml.cs +++ b/v2rayN/v2rayN/Views/MainWindow.xaml.cs @@ -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;