mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-25 19:49:43 +08:00
Flyout Style Fix
This commit is contained in:
@@ -76,12 +76,12 @@
|
||||
Width="250"
|
||||
HorizontalOffset="-205"
|
||||
IsLightDismissEnabled="True">
|
||||
<Border Background="{DynamicResource ThemeBrushKey}"
|
||||
<Border Background="{DynamicResource MenuFlyoutPresenterBackground}"
|
||||
HorizontalAlignment="Stretch"
|
||||
CornerRadius="{DynamicResource OverlayCornerRadius}">
|
||||
<StackPanel>
|
||||
<Panel x:Name="UserMenu" Width="300" Margin="0 20">
|
||||
<StackPanel Spacing="10">
|
||||
<StackPanel>
|
||||
<Image Source="{ReflectionBinding Path=AvaterPath, Source={x:Static service:UserService.Current},Mode=OneWay,Converter={StaticResource BitmapAssetValueConverter},ConverterParameter=100}"
|
||||
Stretch="Uniform"
|
||||
Height="100" Width="100"
|
||||
@@ -92,13 +92,14 @@
|
||||
</Image>
|
||||
<TextBlock
|
||||
Text="{ReflectionBinding Path=User.NickName,Mode=OneWay,Source={x:Static service:UserService.Current}}"
|
||||
Margin="0 10 0 0"
|
||||
FontSize="14"
|
||||
HorizontalAlignment="Center"
|
||||
Foreground="{DynamicResource HighlightForegroundBrushKey}"></TextBlock>
|
||||
</StackPanel>
|
||||
</Panel>
|
||||
<ListBox SelectionMode="Single" Classes="metro"
|
||||
Background="{DynamicResource ThemeBrushKey}">
|
||||
<Separator Classes="Separator"></Separator>
|
||||
<ListBox SelectionMode="Single" Classes="metro" Background="Transparent">
|
||||
<ListBox.Styles>
|
||||
<Style Selector="Button">
|
||||
<Setter Property="Width" Value="{Binding #UserMenu.Width}"></Setter>
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
PlacementTarget="typebutton"
|
||||
HorizontalOffset="-1.5"
|
||||
IsLightDismissEnabled="True">
|
||||
<Border Background="{DynamicResource BackgroundBrushKey}"
|
||||
<Border Background="{DynamicResource MenuFlyoutPresenterBackground}"
|
||||
Classes="dialog"
|
||||
Width="{Binding $parent.Width}" Height="200">
|
||||
<ScrollViewer Padding="10 5">
|
||||
|
||||
Reference in New Issue
Block a user