File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
src/Files.App/UserControls/Pane Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 5757 SelectionMode=" Extended" >
5858 <ListView .ItemTemplate>
5959 <DataTemplate x : DataType =" data:ShelfItem" >
60- <StackPanel Orientation =" Horizontal" Spacing =" 8" >
60+ <Grid ColumnSpacing =" 8" >
61+ <Grid .ColumnDefinitions>
62+ <ColumnDefinition Width =" Auto" />
63+ <ColumnDefinition Width =" *" />
64+ </Grid .ColumnDefinitions>
6165 <Image
66+ Grid.Column=" 0"
6267 Width=" 16"
6368 Height=" 16"
6469 Source=" {x:Bind Icon, Mode=OneWay, Converter={StaticResource ImageModelToImageConverter}}" />
6570 <TextBlock
71+ Grid.Column=" 1"
6672 Text=" {x:Bind Name, Mode=OneWay}"
6773 TextTrimming=" CharacterEllipsis"
74+ TextWrapping=" NoWrap"
6875 ToolTipService.ToolTip=" {x:Bind Path, Mode=OneWay}" />
6976
70- <StackPanel .ContextFlyout>
77+ <Grid .ContextFlyout>
7178 <MenuFlyout >
7279 <MenuFlyoutItem Command =" {x:Bind RemoveCommand}" Text =" {helpers:ResourceString Name=RemoveFromShelf}" >
7380 <MenuFlyoutItem .Icon>
7481 <FontIcon Glyph ="  " />
7582 </MenuFlyoutItem .Icon>
7683 </MenuFlyoutItem >
7784 </MenuFlyout >
78- </StackPanel .ContextFlyout>
79- </StackPanel >
85+ </Grid .ContextFlyout>
86+ </Grid >
8087 </DataTemplate >
8188 </ListView .ItemTemplate>
8289
You can’t perform that action at this time.
0 commit comments