Edit C:\Windows\SystemResources\Windows.UI.Search\XAMLTemplates\Ads.SerpAdsLayout_8_1_RTM-85f7eb4b.xaml
<!-- Top level template for first page serp results including web algo and answers --> <!-- The underlying serp grid has the following cell size in various view modes The number is [item size] + [extra margin] ========================================================= | View Mode | Cell Width | Cell Height | ========================================================= | Horizontal | 400 + 10 | 300 | | Horizontal Large | 400 + 20 | 300 | | Vertical | 490 | 20 | | Verical Large | 630 | 20 | | Vertical Narrow | 320 | 20 | ========================================================= This layout template sets the content control to the following sizes for different view modes The size occupied by the content control is shown below as determined by the row span and column span set on the content control ====================================================================================== | View Mode | Content Width | Content Height | | | [cell width x col span] | [cell height x row span] | ====================================================================================== | Horizontal | 410 x 1 = 410 | 300 x 2 = 600 | | Horizontal Large | 420 x 1 = 420 | 300 x 3 = 900 | | Vertical | 490 x 1 = 490 | 20 x 12 = 240 | | Vertical Large | 630 x 1 = 630 | 20 x 15 = 300 = (280 + 20) | | Vertical Narrow | 320 x 1 = 320 | 20 x 12 = 240 | ====================================================================================== --> <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:tm="using:SearchUI.TemplateManager" x:Key="Ads.SerpAdsLayout_8_1_RTM"> <ControlTemplate TargetType="ContentControl" x:Key="Local.AdsContentControlTemplate"> <Grid Style="{CustomResource Resources.Ads.AdsBackgroundStyle}"> <ContentControl ContentTemplate="{Binding Tag, RelativeSource={RelativeSource TemplatedParent}}"/> <TextBlock tm:RichText.Text="{Binding Extended:label.System_Search_Contents}" TextAlignment="Right" VerticalAlignment="Top" Foreground="#FF777777" Margin="0, 0, 3, 0" Style="{CustomResource TextStyle_Small_SemiLight}" AutomationProperties.AutomationId="Label_Ads"/> </Grid> </ControlTemplate> <!-- Group of 5 DataTemplate maps to [[ext:viewModes]] --> <DataTemplate x:Key="Local.SerpContentTemplate.Ads.Horizontal"> <ContentControl Content="{Binding}" Template="{StaticResource Local.AdsContentControlTemplate}" Tag="{Binding Extended:viewModes.Extended:Horizontal.System_ConnectedSearch_RenderingTemplate, Converter={CustomResource StringToResource}}" /> </DataTemplate> <DataTemplate x:Key="Local.SerpContentTemplate.Ads.HorizontalLarge"> <ContentControl Content="{Binding}" Template="{StaticResource Local.AdsContentControlTemplate}" Tag="{Binding Extended:viewModes.Extended:HorizontalLarge.System_ConnectedSearch_RenderingTemplate, Converter={CustomResource StringToResource}}" /> </DataTemplate> <DataTemplate x:Key="Local.SerpContentTemplate.Ads.Vertical"> <ContentControl Content="{Binding}" Template="{StaticResource Local.AdsContentControlTemplate}" Tag="{Binding Extended:viewModes.Extended:Vertical.System_ConnectedSearch_RenderingTemplate, Converter={CustomResource StringToResource}}" /> </DataTemplate> <DataTemplate x:Key="Local.SerpContentTemplate.Ads.VerticalLarge"> <ContentControl Content="{Binding}" Template="{StaticResource Local.AdsContentControlTemplate}" Tag="{Binding Extended:viewModes.Extended:VerticalLarge.System_ConnectedSearch_RenderingTemplate, Converter={CustomResource StringToResource}}" /> </DataTemplate> <DataTemplate x:Key="Local.SerpContentTemplate.Ads.VerticalNarrow"> <ContentControl Content="{Binding}" Template="{StaticResource Local.AdsContentControlTemplate}" Tag="{Binding Extended:viewModes.Extended:VerticalNarrow.System_ConnectedSearch_RenderingTemplate, Converter={CustomResource StringToResource}}" /> </DataTemplate> <Style x:Key="Horizontal" TargetType="GridViewItem" BasedOn="{CustomResource Resources.Shared.SerpGridViewItem.Suppressed.Horizontal}"> <Setter Property="VariableSizedWrapGrid.ColumnSpan" Value="1"/> <Setter Property="VariableSizedWrapGrid.RowSpan" Value="2"/> <Setter Property="ContentTemplate" Value="{StaticResource Local.SerpContentTemplate.Ads.Horizontal}"/> </Style> <Style x:Key="HorizontalLarge" TargetType="GridViewItem" BasedOn="{CustomResource Resources.Shared.SerpGridViewItem.Suppressed.HorizontalLarge}"> <Setter Property="VariableSizedWrapGrid.ColumnSpan" Value="1"/> <Setter Property="VariableSizedWrapGrid.RowSpan" Value="3"/> <Setter Property="ContentTemplate" Value="{StaticResource Local.SerpContentTemplate.Ads.HorizontalLarge}"/> </Style> <Style x:Key="Vertical" TargetType="GridViewItem" BasedOn="{CustomResource Resources.Shared.SerpGridViewItem.Vertical}"> <Setter Property="VariableSizedWrapGrid.ColumnSpan" Value="1"/> <Setter Property="VariableSizedWrapGrid.RowSpan" Value="12"/> <Setter Property="ContentTemplate" Value="{StaticResource Local.SerpContentTemplate.Ads.Vertical}"/> </Style> <Style x:Key="VerticalLarge" TargetType="GridViewItem" BasedOn="{CustomResource Resources.Shared.SerpGridViewItem.VerticalLarge}"> <Setter Property="VariableSizedWrapGrid.ColumnSpan" Value="1"/> <Setter Property="VariableSizedWrapGrid.RowSpan" Value="15"/> <Setter Property="ContentTemplate" Value="{StaticResource Local.SerpContentTemplate.Ads.VerticalLarge}"/> </Style> <Style x:Key="VerticalNarrow" TargetType="GridViewItem" BasedOn="{CustomResource Resources.Shared.SerpGridViewItem.VerticalNarrow}"> <Setter Property="VariableSizedWrapGrid.ColumnSpan" Value="1"/> <Setter Property="VariableSizedWrapGrid.RowSpan" Value="12"/> <Setter Property="ContentTemplate" Value="{StaticResource Local.SerpContentTemplate.Ads.VerticalNarrow}"/> </Style> </ResourceDictionary>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de