|
50 | 50 | <Grid>
|
51 | 51 | <!-- search box -->
|
52 | 52 | <Grid Background="{DynamicResource ThemeTextBoxBackground}" HorizontalAlignment="Left" VerticalAlignment="Top" Width="222" Margin="6,5,0,0" Height="20" >
|
53 |
| - <TextBlock Margin="3,2" MinWidth="100" Text="Search" Foreground="{DynamicResource ThemeSearchPlaceholder}" Visibility="{Binding Text.IsEmpty, Converter={StaticResource MyBoolToVisibilityConverter}, ElementName=txtSearchBox}" Height="24" /> |
| 53 | + <!--<TextBlock Margin="3,2" MinWidth="100" Text="Search" Foreground="{DynamicResource ThemeSearchPlaceholder}" Visibility="{Binding Text.IsEmpty, Converter={StaticResource MyBoolToVisibilityConverter}, ElementName=txtSearchBox}" Height="24" />--> |
| 54 | + <TextBlock Margin="3,2" MinWidth="100" Text="Search" Foreground="{DynamicResource ThemeSearchPlaceholder}" Height="24"> |
| 55 | + <TextBlock.Style> |
| 56 | + <Style TargetType="TextBlock"> |
| 57 | + <Setter Property="Visibility" Value="Collapsed" /> |
| 58 | + <Style.Triggers> |
| 59 | + <DataTrigger Binding="{Binding Text, ElementName=txtSearchBox}" Value=""> |
| 60 | + <Setter Property="Visibility" Value="Visible" /> |
| 61 | + </DataTrigger> |
| 62 | + </Style.Triggers> |
| 63 | + </Style> |
| 64 | + </TextBlock.Style> |
| 65 | + </TextBlock> |
| 66 | + |
| 67 | + |
54 | 68 | <TextBox MinWidth="100" CaretBrush="{DynamicResource ThemeSearchCaret}" x:Name="txtSearchBox" Background="Transparent" BorderBrush="{x:Null}" Foreground="{DynamicResource ThemeSearchForeground}" SelectionBrush="{DynamicResource ThemeSearchSelection}" BorderThickness="0" Margin="2,2,0,0" UndoLimit="64" TextChanged="OnSearchTextChanged" PreviewKeyDown="TxtSearchBox_PreviewKeyDown" TabIndex="1" />
|
55 | 69 | <Button x:Name="btnClearSearch" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" BorderThickness="0" HorizontalAlignment="Right" VerticalAlignment="Top" Height="23" Width="23" Background="Transparent" Padding="0,2" BorderBrush="{x:Null}" Click="OnClearProjectSearchClick" IsTabStop="False">
|
56 | 70 | <TextBlock Text="❌" FontSize="8" Foreground="{DynamicResource ThemeSearchClose}" Padding="5,3,4,4" HorizontalAlignment="Center">
|
|
261 | 275 | <Grid>
|
262 | 276 | <!-- search box -->
|
263 | 277 | <Grid Background="{DynamicResource ThemeTextBoxBackground}" HorizontalAlignment="Left" VerticalAlignment="Top" Width="222" Margin="6,5,0,0" Height="20" >
|
264 |
| - <TextBlock Margin="3,2" MinWidth="100" Text="Search" Foreground="{DynamicResource ThemeSearchPlaceholder}" Visibility="{Binding Text.IsEmpty, Converter={StaticResource MyBoolToVisibilityConverter}, ElementName=txtSearchBoxUnity}" Height="24" /> |
| 278 | + <TextBlock Margin="3,2" MinWidth="100" Text="Search" Foreground="{DynamicResource ThemeSearchPlaceholder}" Height="24"> |
| 279 | + <TextBlock.Style> |
| 280 | + <Style TargetType="TextBlock"> |
| 281 | + <Setter Property="Visibility" Value="Collapsed" /> |
| 282 | + <Style.Triggers> |
| 283 | + <DataTrigger Binding="{Binding Text, ElementName=txtSearchBoxUnity}" Value=""> |
| 284 | + <Setter Property="Visibility" Value="Visible" /> |
| 285 | + </DataTrigger> |
| 286 | + </Style.Triggers> |
| 287 | + </Style> |
| 288 | + </TextBlock.Style> |
| 289 | + </TextBlock> |
265 | 290 | <TextBox MinWidth="100" CaretBrush="{DynamicResource ThemeSearchCaret}" x:Name="txtSearchBoxUnity" Background="Transparent" BorderBrush="{x:Null}" Foreground="{DynamicResource ThemeSearchForeground}" SelectionBrush="{DynamicResource ThemeSearchSelection}" BorderThickness="0" Margin="2,2,0,0" UndoLimit="64" PreviewKeyDown="TxtSearchBoxUnity_PreviewKeyDown" TextChanged="TxtSearchBoxUnity_TextChanged" />
|
266 | 291 | <Button x:Name="btnClearUnitySearch" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" BorderThickness="0" HorizontalAlignment="Right" VerticalAlignment="Top" Height="23" Width="23" Background="Transparent" Padding="0,2" Visibility="Visible" BorderBrush="{x:Null}" Click="OnClearUnitySearchClick">
|
267 | 292 | <TextBlock Text="❌" FontSize="8" Foreground="{DynamicResource ThemeSearchCaret}" Padding="5,3,4,4" HorizontalAlignment="Center">
|
|
377 | 402 | <Grid>
|
378 | 403 | <!-- search box -->
|
379 | 404 | <Grid Background="{DynamicResource ThemeTextBoxBackground}" HorizontalAlignment="Left" VerticalAlignment="Top" Width="222" Margin="6,5,0,0" Height="20" >
|
380 |
| - <TextBlock Margin="3,2" MinWidth="100" Text="Search" Foreground="{DynamicResource ThemeSearchPlaceholder}" Visibility="{Binding Text.IsEmpty, Converter={StaticResource MyBoolToVisibilityConverter}, ElementName=txtSearchBoxUpdates}" Height="24" /> |
| 405 | + <TextBlock Margin="3,2" MinWidth="100" Text="Search" Foreground="{DynamicResource ThemeSearchPlaceholder}" Height="24"> |
| 406 | + <TextBlock.Style> |
| 407 | + <Style TargetType="TextBlock"> |
| 408 | + <Setter Property="Visibility" Value="Collapsed" /> |
| 409 | + <Style.Triggers> |
| 410 | + <DataTrigger Binding="{Binding Text, ElementName=txtSearchBoxUpdates}" Value=""> |
| 411 | + <Setter Property="Visibility" Value="Visible" /> |
| 412 | + </DataTrigger> |
| 413 | + </Style.Triggers> |
| 414 | + </Style> |
| 415 | + </TextBlock.Style> |
| 416 | + </TextBlock> |
381 | 417 | <TextBox MinWidth="100" CaretBrush="{DynamicResource ThemeSearchCaret}" x:Name="txtSearchBoxUpdates" Background="Transparent" BorderBrush="{x:Null}" Foreground="{DynamicResource ThemeSearchForeground}" SelectionBrush="{DynamicResource ThemeSearchSelection}" BorderThickness="0" Margin="2,2,0,0" UndoLimit="64" PreviewKeyDown="TxtSearchBoxUpdates_PreviewKeyDown" TextChanged="TxtSearchBoxUpdates_TextChanged" />
|
382 | 418 | <Button x:Name="btnClearUpdatesSearch" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" BorderThickness="0" HorizontalAlignment="Right" VerticalAlignment="Top" Height="23" Width="23" Background="Transparent" Padding="0,2" Visibility="Visible" BorderBrush="{x:Null}" Click="OnClearUpdateSearchClick">
|
383 | 419 | <TextBlock Text="❌" FontSize="8" Foreground="{DynamicResource ThemeSearchClose}" Padding="5,3,4,4" HorizontalAlignment="Center">
|
|
450 | 486 | <Grid VerticalAlignment="Bottom" Margin="4,0,8,5">
|
451 | 487 | <Grid.ColumnDefinitions>
|
452 | 488 | <ColumnDefinition Width="20*" />
|
453 |
| - <ColumnDefinition Width="33*" /> |
454 |
| - <ColumnDefinition Width="33*" /> |
| 489 | + <ColumnDefinition Width="18*" /> |
| 490 | + <ColumnDefinition Width="28*" /> |
| 491 | + <ColumnDefinition Width="26*" /> |
455 | 492 | </Grid.ColumnDefinitions>
|
456 | 493 | <Grid.RowDefinitions>
|
457 | 494 | <RowDefinition Height="32" />
|
458 | 495 | </Grid.RowDefinitions>
|
459 | 496 | <Button Grid.Column="0" Style="{StaticResource CustomButton}" x:Name="btnDownloadInBrowser" Margin="5,0,0,0" BorderBrush="{x:Null}" Click="BtnDownloadInBrowser_Click">
|
460 |
| - <Label Content="_Download in browser" Foreground="{Binding Path=Foreground, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Control}}}" /> |
| 497 | + <Label Content="_Download installer in browser" Foreground="{Binding Path=Foreground, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Control}}}" /> |
461 | 498 | </Button>
|
462 |
| - <Button Grid.Column="1" Style="{StaticResource CustomButton}" x:Name="btnDownloadInstallUpdate" Margin="5,0,0,0" BorderBrush="{x:Null}" Click="btnDownloadInstallUpdate_Click"> |
| 499 | + <Button Grid.Column="1" Style="{StaticResource CustomButton}" x:Name="btnDownloadInBrowserFull" Margin="5,0,0,0" BorderBrush="{x:Null}" Click="BtnDownloadInBrowserFull_Click"> |
| 500 | + <Label Content="_Download editor in browser" Foreground="{Binding Path=Foreground, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Control}}}" /> |
| 501 | + </Button> |
| 502 | + <Button Grid.Column="2" Style="{StaticResource CustomButton}" x:Name="btnDownloadInstallUpdate" Margin="5,0,0,0" BorderBrush="{x:Null}" Click="btnDownloadInstallUpdate_Click"> |
463 | 503 | <Label Content="Download & Install" Foreground="{Binding Path=Foreground, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Control}}}" />
|
464 | 504 | </Button>
|
465 |
| - <Button Grid.Column="2" Style="{StaticResource CustomButton}" x:Name="btnOpenWebsite" Margin="5,0,0,0" BorderBrush="{x:Null}" Click="BtnOpenWebsite_Click" > |
| 505 | + <Button Grid.Column="3" Style="{StaticResource CustomButton}" x:Name="btnOpenWebsite" Margin="5,0,0,0" BorderBrush="{x:Null}" Click="BtnOpenWebsite_Click" > |
466 | 506 | <Label Content="Release _Notes" Foreground="{Binding Path=Foreground, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Control}}}" />
|
467 | 507 | </Button>
|
468 | 508 | </Grid>
|
|
537 | 577 | <Button x:Name="btnRefreshBuildReport" Style="{StaticResource CustomButton}" ToolTip="Get latest Build Report from Editor.log" Content="⟳" Height="22" Width="22" HorizontalAlignment="Center" VerticalAlignment="Top" FontSize="16" Margin="0,4,10,0" Padding="1,-2,1,1" BorderBrush="{x:Null}" Click="BtnRefreshBuildReport_Click"/>
|
538 | 578 | <!--<CheckBox x:Name="chkAutoUpdateBuildReport" Content="AutoUpdate" Foreground="{DynamicResource ButtonForeground}" Margin="0,0,0,3" ToolTip="" HorizontalAlignment="Right" VerticalAlignment="Top" Height="26" VerticalContentAlignment="Center" IsEnabled="False"/>-->
|
539 | 579 |
|
540 |
| - |
541 | 580 | <!-- search box -->
|
542 | 581 | <Grid Background="{DynamicResource ThemeTextBoxBackground}" HorizontalAlignment="Left" VerticalAlignment="Top" Width="222" Margin="6,5,0,0" Height="20" >
|
543 |
| - <TextBlock Margin="3,2" MinWidth="100" Text="Search" Foreground="{DynamicResource ThemeSearchPlaceholder}" Visibility="{Binding Text.IsEmpty, Converter={StaticResource MyBoolToVisibilityConverter}, ElementName=txtSearchBoxBuildReport}" Height="24" IsEnabled="False" /> |
| 582 | + <TextBlock Margin="3,2" MinWidth="100" Text="Search" Foreground="{DynamicResource ThemeSearchPlaceholder}" Height="24"> |
| 583 | + <TextBlock.Style> |
| 584 | + <Style TargetType="TextBlock"> |
| 585 | + <Setter Property="Visibility" Value="Collapsed" /> |
| 586 | + <Setter Property="IsEnabled" Value="False" /> |
| 587 | + <Style.Triggers> |
| 588 | + <DataTrigger Binding="{Binding Text, ElementName=txtSearchBoxBuildReport}" Value=""> |
| 589 | + <Setter Property="Visibility" Value="Visible" /> |
| 590 | + <Setter Property="IsEnabled" Value="True" /> |
| 591 | + </DataTrigger> |
| 592 | + </Style.Triggers> |
| 593 | + </Style> |
| 594 | + </TextBlock.Style> |
| 595 | + </TextBlock> |
544 | 596 | <TextBox MinWidth="100" CaretBrush="{DynamicResource ThemeSearchCaret}" x:Name="txtSearchBoxBuildReport" Background="Transparent" BorderBrush="{x:Null}" Foreground="{DynamicResource ThemeSearchForeground}" SelectionBrush="{DynamicResource ThemeSearchSelection}" BorderThickness="0" Margin="2,2,0,0" UndoLimit="64" PreviewKeyDown="TxtSearchBoxBuildReport_PreviewKeyDown" TextChanged="TxtSearchBoxBuildReport_TextChanged" />
|
545 | 597 | <Button x:Name="btnClearBuildReportSearch" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" BorderThickness="0" HorizontalAlignment="Right" VerticalAlignment="Top" Height="23" Width="23" Background="Transparent" Padding="0,2" Visibility="Visible" BorderBrush="{x:Null}" Click="BtnClearBuildReportSearch_Click">
|
546 | 598 | <TextBlock Text="❌" FontSize="8" Foreground="{DynamicResource ThemeSearchCaret}" Padding="5,3,4,4" HorizontalAlignment="Center">
|
|
0 commit comments