mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
设置支持快捷导航 (未完成)
This commit is contained in:
parent
c6431839f3
commit
1a44fdff45
@ -7,7 +7,7 @@
|
|||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:pu="clr-namespace:Panuon.WPF.UI;assembly=Panuon.WPF.UI"
|
xmlns:pu="clr-namespace:Panuon.WPF.UI;assembly=Panuon.WPF.UI"
|
||||||
xmlns:system="clr-namespace:System;assembly=mscorlib"
|
xmlns:system="clr-namespace:System;assembly=mscorlib"
|
||||||
Width="{ll:Dbe SettingWidth, DefValue=500}" Height="550" Closing="WindowX_Closing" FontSize="16"
|
Width="{ll:Dbe SettingWidth, DefValue=650}" Height="550" Closing="WindowX_Closing" FontSize="16"
|
||||||
Style="{DynamicResource BaseWindowXStyle}" Topmost="True" WindowStartupLocation="CenterScreen" mc:Ignorable="d">
|
Style="{DynamicResource BaseWindowXStyle}" Topmost="True" WindowStartupLocation="CenterScreen" mc:Ignorable="d">
|
||||||
<!--<pu:WindowX.Resources>
|
<!--<pu:WindowX.Resources>
|
||||||
<DataTemplate x:Key="DIYDataTemplate">
|
<DataTemplate x:Key="DIYDataTemplate">
|
||||||
@ -15,6 +15,10 @@
|
|||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</pu:WindowX.Resources>-->
|
</pu:WindowX.Resources>-->
|
||||||
<Grid>
|
<Grid>
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="150" />
|
||||||
|
<ColumnDefinition />
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
<TabControl x:Name="MainTab" Margin="5" pu:TabControlHelper.CanHeaderPanelScroll="True"
|
<TabControl x:Name="MainTab" Margin="5" pu:TabControlHelper.CanHeaderPanelScroll="True"
|
||||||
pu:TabControlHelper.ItemsCornerRadius="4" pu:TabControlHelper.ItemsHeight="NaN"
|
pu:TabControlHelper.ItemsCornerRadius="4" pu:TabControlHelper.ItemsHeight="NaN"
|
||||||
pu:TabControlHelper.ItemsHoverBackground="{DynamicResource PrimaryLight}"
|
pu:TabControlHelper.ItemsHoverBackground="{DynamicResource PrimaryLight}"
|
||||||
@ -22,11 +26,11 @@
|
|||||||
pu:TabControlHelper.ItemsSelectedBackground="{DynamicResource PrimaryDark}"
|
pu:TabControlHelper.ItemsSelectedBackground="{DynamicResource PrimaryDark}"
|
||||||
pu:TabControlHelper.ItemsSelectedForeground="{DynamicResource DARKPrimaryText}" Background="Transparent"
|
pu:TabControlHelper.ItemsSelectedForeground="{DynamicResource DARKPrimaryText}" Background="Transparent"
|
||||||
BorderThickness="0" Foreground="{DynamicResource PrimaryText}"
|
BorderThickness="0" Foreground="{DynamicResource PrimaryText}"
|
||||||
SelectionChanged="MainTab_SelectionChanged">
|
SelectionChanged="MainTab_SelectionChanged" Grid.Column="1">
|
||||||
<TabControl.ContentTemplate>
|
<TabControl.ContentTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<Border Margin="5,10,5,20" Background="{DynamicResource DARKPrimaryText}" CornerRadius="15">
|
<Border Margin="0,5,0,10" Background="{DynamicResource DARKPrimaryText}" CornerRadius="15">
|
||||||
<ContentControl Margin="15,10" Content="{Binding}" />
|
<ContentControl Margin="10,5" Content="{Binding}" />
|
||||||
</Border>
|
</Border>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</TabControl.ContentTemplate>
|
</TabControl.ContentTemplate>
|
||||||
@ -957,6 +961,6 @@
|
|||||||
</TabItem>
|
</TabItem>
|
||||||
</TabControl>
|
</TabControl>
|
||||||
<Label x:Name="GameVerison" HorizontalAlignment="Left" VerticalAlignment="Bottom" Background="{x:Null}"
|
<Label x:Name="GameVerison" HorizontalAlignment="Left" VerticalAlignment="Bottom" Background="{x:Null}"
|
||||||
Content="版本v1.0 (655366666)" FontSize="10" Foreground="Green" />
|
Content="版本v1.0 (655366666)" FontSize="10" Foreground="Green" Grid.ColumnSpan="2" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</pu:WindowX>
|
</pu:WindowX>
|
||||||
|
@ -1327,5 +1327,7 @@ namespace VPet_Simulator.Windows
|
|||||||
mw.Set.HideFromTaskControl = SwitchHideFromTaskControl.IsChecked == true;
|
mw.Set.HideFromTaskControl = SwitchHideFromTaskControl.IsChecked == true;
|
||||||
ButtonRestartGraph.Visibility = Visibility.Visible;
|
ButtonRestartGraph.Visibility = Visibility.Visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user