Skip to content

Commit

Permalink
update EverythingToolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
no5ix committed Feb 23, 2022
1 parent 84a6a03 commit d2fe8d1
Show file tree
Hide file tree
Showing 38 changed files with 743 additions and 528 deletions.
Binary file modified app_data/ev_sup/EverythingToolbar/EverythingToolbar.dll
Binary file not shown.
Binary file modified app_data/ev_sup/EverythingToolbar/EverythingToolbar.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:EverythingToolbar;assembly=EverythingToolbar">
<DataTemplate x:Key="searchResultsListTemplate">
<Grid x:Name="ListViewItem" Margin="3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="1.5*" />
<ColumnDefinition Width="2*" />
<ColumnDefinition Width="56" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Image Source="{Binding Icon, IsAsync=True}"
Width="16"
Height="16"
Margin="0, 0, 2, 0" />
<ContentControl Content="{Binding HighlightedFileName, Converter={local:HighlightedTextConverter}, Mode=OneTime}"
Grid.Column="1"
FontSize="9pt"
Margin="2, 0"
Foreground="{DynamicResource SearchResultFileName}" />
<ContentControl Content="{Binding HighlightedPath, Converter={local:HighlightedTextConverter}, Mode=OneTime}"
ToolTip="{Binding Path}"
Grid.Column="2"
FontSize="9pt"
Margin="2, 0"
Foreground="{DynamicResource SearchResultPath}" />
<TextBlock Grid.Column="3"
FontSize="9pt"
Margin="2, 0"
Foreground="{DynamicResource SearchResultFileSize}"
TextAlignment="Right"
Text="{Binding FileSize}" />
<TextBlock Grid.Column="4"
FontSize="9pt"
Margin="2, 0"
Foreground="{DynamicResource SearchResultDateModified}"
Text="{Binding DateModified}" />
</Grid>
</DataTemplate>
</ResourceDictionary>
60 changes: 30 additions & 30 deletions app_data/ev_sup/EverythingToolbar/ItemTemplates/Compact.xaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:EverythingToolbar;assembly=EverythingToolbar">
<DataTemplate x:Key="searchResultsListTemplate">
<Grid x:Name="ListViewItem" Margin="3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Image Source="{Binding Icon, IsAsync=True}"
Width="16"
Height="16"
Margin="0, 0, 2, 0" />
<ContentControl Content="{Binding HighlightedFileName, Converter={local:HighlightedTextConverter}, Mode=OneTime}"
Grid.Column="1"
FontSize="9pt"
Margin="2, 0"
Foreground="{DynamicResource SearchResultFileName}" />
<TextBlock Grid.Column="2"
FontSize="9pt"
Margin="2, 0"
Foreground="{DynamicResource SearchResultDateModified}"
Text="{Binding DateModified}" />
</Grid>
</DataTemplate>
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:EverythingToolbar;assembly=EverythingToolbar">
<DataTemplate x:Key="searchResultsListTemplate">
<Grid x:Name="ListViewItem" Margin="3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Image Source="{Binding Icon, IsAsync=True}"
Width="16"
Height="16"
Margin="0, 0, 2, 0" />
<ContentControl Content="{Binding HighlightedFileName, Converter={local:HighlightedTextConverter}, Mode=OneTime}"
Grid.Column="1"
FontSize="9pt"
Margin="2, 0"
Foreground="{DynamicResource SearchResultFileName}" />
<TextBlock Grid.Column="2"
FontSize="9pt"
Margin="2, 0"
Foreground="{DynamicResource SearchResultDateModified}"
Text="{Binding DateModified}" />
</Grid>
</DataTemplate>
</ResourceDictionary>
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:EverythingToolbar;assembly=EverythingToolbar">
<DataTemplate x:Key="searchResultsListTemplate">
<Grid x:Name="ListViewItem" Margin="0, 0, 0, 4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="40" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Image Source="{Binding Icon, IsAsync=True}"
Width="16"
Height="16"
Margin="0, 5, 0, 0" />
<ContentControl Content="{Binding HighlightedFileName, Converter={local:HighlightedTextConverter}, Mode=OneTime}"
Grid.Column="1"
VerticalAlignment="Bottom"
Margin="0, 7, 0, 4"
FontSize="12pt"
Foreground="{DynamicResource SearchResultFileName}" />
<ContentControl Content="{Binding HighlightedPath, Converter={local:HighlightedTextConverter}, Mode=OneTime}"
ToolTip="{Binding Path}"
Grid.Column="1"
Grid.Row="1"
VerticalAlignment="Top"
Margin="0, 0, 0, 4"
FontSize="10pt"
Foreground="{DynamicResource SearchResultPath}" />
<TextBlock Grid.Column="2"
VerticalAlignment="Bottom"
Margin="10, 5, 10, 6"
FontSize="10pt"
Foreground="{DynamicResource SearchResultDateModified}"
Text="{Binding DateModified}" />
<TextBlock Grid.Column="2"
Grid.Row="1"
VerticalAlignment="Top"
Margin="10, 0, 10, 4"
HorizontalAlignment="Right"
FontSize="10pt"
Foreground="{DynamicResource SearchResultFileSize}"
Text="{Binding FileSize}" />
</Grid>
</DataTemplate>
</ResourceDictionary>
64 changes: 32 additions & 32 deletions app_data/ev_sup/EverythingToolbar/ItemTemplates/Normal.xaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:EverythingToolbar;assembly=EverythingToolbar">
<DataTemplate x:Key="searchResultsListTemplate">
<Grid x:Name="ListViewItem" Margin="0, 0, 0, 4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="40" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Image Source="{Binding Icon, IsAsync=True}"
Width="16"
Height="16"
Margin="0, 5, 0, 0" />
<ContentControl Content="{Binding HighlightedFileName, Converter={local:HighlightedTextConverter}, Mode=OneTime}"
Grid.Column="1"
VerticalAlignment="Bottom"
Margin="0, 7, 0, 4"
FontSize="12pt"
Foreground="{DynamicResource SearchResultFileName}" />
<TextBlock Grid.Column="2"
VerticalAlignment="Bottom"
Margin="10, 5, 10, 6"
FontSize="10pt"
Foreground="{DynamicResource SearchResultDateModified}"
Text="{Binding DateModified}" />
</Grid>
</DataTemplate>
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:EverythingToolbar;assembly=EverythingToolbar">
<DataTemplate x:Key="searchResultsListTemplate">
<Grid x:Name="ListViewItem" Margin="0, 0, 0, 4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="40" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Image Source="{Binding Icon, IsAsync=True}"
Width="16"
Height="16"
Margin="0, 5, 0, 0" />
<ContentControl Content="{Binding HighlightedFileName, Converter={local:HighlightedTextConverter}, Mode=OneTime}"
Grid.Column="1"
VerticalAlignment="Bottom"
Margin="0, 7, 0, 4"
FontSize="12pt"
Foreground="{DynamicResource SearchResultFileName}" />
<TextBlock Grid.Column="2"
VerticalAlignment="Bottom"
Margin="10, 5, 10, 6"
FontSize="10pt"
Foreground="{DynamicResource SearchResultDateModified}"
Text="{Binding DateModified}" />
</Grid>
</DataTemplate>
</ResourceDictionary>
Loading

0 comments on commit d2fe8d1

Please sign in to comment.