mirror of
https://github.com/2dust/v2rayN.git
synced 2025-08-23 19:36:55 +00:00
修复:状态栏文字过大时无法正常显示的问题
This commit is contained in:
parent
7810e90ebb
commit
8d335a7491
1 changed files with 53 additions and 68 deletions
|
@ -10,76 +10,61 @@
|
||||||
d:DesignWidth="800"
|
d:DesignWidth="800"
|
||||||
x:DataType="vms:StatusBarViewModel"
|
x:DataType="vms:StatusBarViewModel"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
<Grid>
|
<Grid>
|
||||||
<StackPanel Height="50">
|
<StackPanel Margin="0,5" Orientation="Horizontal">
|
||||||
<DockPanel>
|
<StackPanel
|
||||||
<StackPanel
|
VerticalAlignment="Center">
|
||||||
Margin="8,0"
|
<TextBlock x:Name="txtSpeedProxyDisplay" />
|
||||||
VerticalAlignment="Center"
|
<Border Margin="2" />
|
||||||
DockPanel.Dock="Right">
|
<TextBlock x:Name="txtSpeedDirectDisplay" />
|
||||||
<TextBlock x:Name="txtSpeedProxyDisplay" />
|
</StackPanel>
|
||||||
<Border Margin="2" />
|
|
||||||
<TextBlock x:Name="txtSpeedDirectDisplay" />
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<StackPanel
|
<StackPanel
|
||||||
Width="240"
|
Margin="8,0"
|
||||||
Margin="8,0"
|
VerticalAlignment="Center">
|
||||||
VerticalAlignment="Center"
|
<TextBlock x:Name="txtInboundDisplay" />
|
||||||
DockPanel.Dock="Left">
|
<Border Margin="2" />
|
||||||
<TextBlock x:Name="txtInboundDisplay" />
|
<TextBlock x:Name="txtInboundLanDisplay" />
|
||||||
<Border Margin="2" />
|
</StackPanel>
|
||||||
<TextBlock x:Name="txtInboundLanDisplay" />
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<StackPanel
|
<StackPanel
|
||||||
x:Name="spEnableTun"
|
x:Name="spEnableTun"
|
||||||
Width="100"
|
VerticalAlignment="Center"
|
||||||
Margin="8,0"
|
Orientation="Horizontal">
|
||||||
VerticalAlignment="Center"
|
<TextBlock
|
||||||
DockPanel.Dock="Left"
|
VerticalAlignment="Center"
|
||||||
Orientation="Horizontal">
|
Text="{x:Static resx:ResUI.TbEnableTunAs}" />
|
||||||
<TextBlock
|
<ToggleSwitch
|
||||||
Margin="8,0"
|
x:Name="togEnableTun"
|
||||||
VerticalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
Text="{x:Static resx:ResUI.TbEnableTunAs}" />
|
Theme="{StaticResource SimpleToggleSwitch}" />
|
||||||
<ToggleSwitch
|
</StackPanel>
|
||||||
x:Name="togEnableTun"
|
|
||||||
HorizontalAlignment="Center"
|
<StackPanel
|
||||||
Classes="Margin8"
|
Margin="8,0"
|
||||||
Theme="{StaticResource SimpleToggleSwitch}" />
|
VerticalAlignment="Center"
|
||||||
</StackPanel>
|
Orientation="Horizontal">
|
||||||
|
<ComboBox
|
||||||
|
x:Name="cmbSystemProxy"
|
||||||
|
ToolTip.Tip="{x:Static resx:ResUI.menuSystemproxy}">
|
||||||
|
<ComboBoxItem Content="{x:Static resx:ResUI.menuSystemProxyClear}" />
|
||||||
|
<ComboBoxItem Content="{x:Static resx:ResUI.menuSystemProxySet}" />
|
||||||
|
<ComboBoxItem Content="{x:Static resx:ResUI.menuSystemProxyNothing}" />
|
||||||
|
</ComboBox>
|
||||||
|
|
||||||
<StackPanel
|
<ComboBox
|
||||||
Margin="8,0"
|
x:Name="cmbRoutings2"
|
||||||
VerticalAlignment="Center"
|
Margin="8,0,0,0"
|
||||||
DockPanel.Dock="Left"
|
DisplayMemberBinding="{Binding Remarks}"
|
||||||
Orientation="Horizontal">
|
ItemsSource="{Binding RoutingItems}"
|
||||||
<ComboBox
|
ToolTip.Tip="{x:Static resx:ResUI.menuRouting}" />
|
||||||
x:Name="cmbSystemProxy"
|
</StackPanel>
|
||||||
Width="160"
|
|
||||||
Margin="8,0"
|
|
||||||
ToolTip.Tip="{x:Static resx:ResUI.menuSystemproxy}">
|
|
||||||
<ComboBoxItem Content="{x:Static resx:ResUI.menuSystemProxyClear}" />
|
|
||||||
<ComboBoxItem Content="{x:Static resx:ResUI.menuSystemProxySet}" />
|
|
||||||
<ComboBoxItem Content="{x:Static resx:ResUI.menuSystemProxyNothing}" />
|
|
||||||
</ComboBox>
|
|
||||||
|
|
||||||
<ComboBox
|
<StackPanel VerticalAlignment="Center">
|
||||||
x:Name="cmbRoutings2"
|
<TextBlock x:Name="txtRunningServerDisplay" />
|
||||||
Width="160"
|
<Border Margin="2" />
|
||||||
Margin="8,0"
|
<TextBlock x:Name="txtRunningInfoDisplay" />
|
||||||
DisplayMemberBinding="{Binding Remarks}"
|
</StackPanel>
|
||||||
ItemsSource="{Binding RoutingItems}"
|
</StackPanel>
|
||||||
ToolTip.Tip="{x:Static resx:ResUI.menuRouting}" />
|
</Grid>
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<StackPanel Margin="8,0" VerticalAlignment="Center">
|
|
||||||
<TextBlock x:Name="txtRunningServerDisplay" />
|
|
||||||
<Border Margin="2" />
|
|
||||||
<TextBlock x:Name="txtRunningInfoDisplay" />
|
|
||||||
</StackPanel>
|
|
||||||
</DockPanel>
|
|
||||||
</StackPanel>
|
|
||||||
</Grid>
|
|
||||||
</UserControl>
|
</UserControl>
|
Loading…
Reference in a new issue