mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-03 13:48:52 +00:00
commit
528400579a
2 changed files with 3 additions and 1 deletions
|
@ -386,7 +386,7 @@
|
||||||
x:Name="lstGroup"
|
x:Name="lstGroup"
|
||||||
FontSize="{DynamicResource StdFontSize}"
|
FontSize="{DynamicResource StdFontSize}"
|
||||||
ItemContainerStyle="{StaticResource MyChipListBoxItem}"
|
ItemContainerStyle="{StaticResource MyChipListBoxItem}"
|
||||||
Style="{StaticResource MaterialDesignChoiceChipPrimaryOutlineListBox}">
|
Style="{StaticResource MaterialDesignChoiceChipPrimaryOutlineListBox}" MaxHeight="120">
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<TextBlock Text="{Binding remarks}" />
|
<TextBlock Text="{Binding remarks}" />
|
||||||
|
|
|
@ -36,6 +36,8 @@ namespace v2rayN.Views
|
||||||
this.Height = SystemParameters.WorkArea.Height;
|
this.Height = SystemParameters.WorkArea.Height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lstGroup.MaxHeight = Math.Floor(SystemParameters.WorkArea.Height * 0.20 / 40) * 40;
|
||||||
|
|
||||||
_config = LazyConfig.Instance.GetConfig();
|
_config = LazyConfig.Instance.GetConfig();
|
||||||
|
|
||||||
App.Current.SessionEnding += Current_SessionEnding;
|
App.Current.SessionEnding += Current_SessionEnding;
|
||||||
|
|
Loading…
Reference in a new issue