mirror of https://github.com/2dust/v2rayN
The desktop version add wrap to the subscription group
parent
4859dcda08
commit
ee75dd37af
|
@ -19,10 +19,16 @@
|
||||||
<WrapPanel Margin="2" DockPanel.Dock="Top">
|
<WrapPanel Margin="2" DockPanel.Dock="Top">
|
||||||
<ListBox
|
<ListBox
|
||||||
x:Name="lstGroup"
|
x:Name="lstGroup"
|
||||||
MaxHeight="200"
|
Margin="4,0"
|
||||||
DisplayMemberBinding="{Binding Remarks}"
|
DisplayMemberBinding="{Binding Remarks}"
|
||||||
ItemsSource="{Binding SubItems}"
|
ItemsSource="{Binding SubItems}"
|
||||||
Theme="{DynamicResource PureCardRadioGroupListBox}" />
|
Theme="{DynamicResource PureCardRadioGroupListBox}">
|
||||||
|
<ListBox.ItemsPanel>
|
||||||
|
<ItemsPanelTemplate>
|
||||||
|
<WrapPanel />
|
||||||
|
</ItemsPanelTemplate>
|
||||||
|
</ListBox.ItemsPanel>
|
||||||
|
</ListBox>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
x:Name="btnEditSub"
|
x:Name="btnEditSub"
|
||||||
|
@ -84,14 +90,14 @@
|
||||||
<DataGrid
|
<DataGrid
|
||||||
x:Name="lstProfiles"
|
x:Name="lstProfiles"
|
||||||
AutoGenerateColumns="False"
|
AutoGenerateColumns="False"
|
||||||
CanUserReorderColumns="True"
|
|
||||||
BorderThickness="1"
|
BorderThickness="1"
|
||||||
|
CanUserReorderColumns="True"
|
||||||
CanUserResizeColumns="True"
|
CanUserResizeColumns="True"
|
||||||
GridLinesVisibility="All"
|
GridLinesVisibility="All"
|
||||||
HeadersVisibility="All"
|
HeadersVisibility="All"
|
||||||
ScrollViewer.AllowAutoHide="False"
|
|
||||||
IsReadOnly="True"
|
IsReadOnly="True"
|
||||||
ItemsSource="{Binding ProfileItems}">
|
ItemsSource="{Binding ProfileItems}"
|
||||||
|
ScrollViewer.AllowAutoHide="False">
|
||||||
<DataGrid.KeyBindings>
|
<DataGrid.KeyBindings>
|
||||||
<KeyBinding Command="{Binding Export2ShareUrlCmd}" Gesture="Ctrl+C" />
|
<KeyBinding Command="{Binding Export2ShareUrlCmd}" Gesture="Ctrl+C" />
|
||||||
<KeyBinding Command="{Binding SetDefaultServerCmd}" Gesture="Enter" />
|
<KeyBinding Command="{Binding SetDefaultServerCmd}" Gesture="Enter" />
|
||||||
|
|
Loading…
Reference in New Issue