|
530 | 530 |
|
531 | 531 | </VisualStateManager.VisualStateGroups>
|
532 | 532 |
|
533 |
| - <Grid x:Name="titleBar" Height="{Binding ElementName=MainWindow, Path=(ui:TitleBar.Height)}" Panel.ZIndex="2" VerticalAlignment="Top" > |
| 533 | + <Grid x:Name="titleBar" |
| 534 | + Height="{Binding ElementName=MainWindow, Path=(ui:TitleBar.Height)}" Panel.ZIndex="2" VerticalAlignment="Top" > |
534 | 535 | <Grid.ColumnDefinitions>
|
535 |
| - <ColumnDefinition Width="auto" /> |
536 | 536 | <ColumnDefinition Width="*" />
|
537 | 537 | </Grid.ColumnDefinitions>
|
538 | 538 |
|
539 |
| - <ui:TitleBarButton x:Name="uiBtnOptions" Margin="10,5,0,0" |
540 |
| - Grid.Column="0" HoverForeground="White" InactiveForeground="#80FFFFFF" HoverBackground="#00000000" PressedBackground="#00000000" PressedForeground="#40FFFFFF" |
| 539 | + <ui:TitleBarButton x:Name="uiBtnOptions" |
| 540 | + Margin="10,2,0,0" |
| 541 | + Panel.ZIndex="2" HorizontalAlignment="Left" |
| 542 | + Grid.Column="0" HoverForeground="White" InactiveForeground="#80FFFFFF" HoverBackground="#00000000" PressedBackground="#00000000" PressedForeground="#40FFFFFF" |
541 | 543 | Content="" FontSize="16" Width="20"
|
542 | 544 | ContentTemplate="{x:Null}" />
|
543 |
| - </Grid> |
544 | 545 |
|
545 |
| - <!--Update Banner--> |
546 |
| - <Grid x:Name="uiUpdateBanner" VerticalAlignment="Bottom" Height="30" Panel.ZIndex="2" Background="#FF468E56" Visibility="{Binding UpdateAvailable.Item1, Converter={StaticResource BoolToVisConverter}}" Cursor="Hand" MouseUp="uiUpdateBanner_MouseUp"> |
547 |
| - <Grid.Effect> |
548 |
| - <DropShadowEffect Direction="90" Opacity="0.15" BlurRadius="6"/> |
549 |
| - </Grid.Effect> |
| 546 | + <ui:TitleBarButton x:Name="uiUpdateText" Panel.ZIndex="5" |
| 547 | + d:Content="update available - v3.0a2" |
| 548 | + Content="{Binding UpdateAvailable.Item2}" |
| 549 | + FontSize="14" |
| 550 | + FontFamily="Segoe UI" |
| 551 | + Width="200" |
| 552 | + Visibility="{Binding UpdateAvailable.Item1, Converter={StaticResource BoolToVisConverter}}" |
| 553 | + Click="uiUpdateBanner_MouseUp" |
| 554 | + HorizontalAlignment="Center" |
| 555 | + VerticalAlignment="Center" |
| 556 | + Foreground="White" |
| 557 | + InactiveForeground="#80FFFFFF" |
| 558 | + HoverBackground="#00000000" HoverForeground="#40FFFFFF" |
| 559 | + PressedBackground="#00000000" |
| 560 | + PressedForeground="#20FFFFFF" /> |
| 561 | + <!--Update Banner--> |
| 562 | + <Grid x:Name="uiUpdateBanner" |
| 563 | + VerticalAlignment="Top" HorizontalAlignment="Stretch" |
| 564 | + Height="{Binding ElementName=MainWindow, Path=(ui:TitleBar.Height)}" IsHitTestVisible="False" |
| 565 | + Background="#AA468E56" |
| 566 | + Visibility="{Binding UpdateAvailable.Item1, Converter={StaticResource BoolToVisConverter}}" |
| 567 | + Cursor="Hand"> |
| 568 | + <Grid.Effect> |
| 569 | + <DropShadowEffect Direction="90" |
| 570 | + Opacity="0.15" |
| 571 | + BlurRadius="6" /> |
| 572 | + </Grid.Effect> |
| 573 | + |
| 574 | + </Grid> |
| 575 | + </Grid> |
550 | 576 |
|
551 |
| - <TextBlock x:Name="uiUpdateText" d:Text="update available - v3.0a2" Text="{Binding UpdateAvailable.Item2}" FontSize="14" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/> |
552 |
| - </Grid> |
| 577 | + |
553 | 578 |
|
554 |
| - <!--Main information section / results of analysis--> |
| 579 | + <!--Main information section / results of analysis--> |
555 | 580 | <Grid x:Name="mainSection" VerticalAlignment="Top" Panel.ZIndex="1">
|
556 | 581 | <Grid.Background>
|
557 | 582 | <LinearGradientBrush MappingMode="RelativeToBoundingBox" >
|
|
0 commit comments