File tree 1 file changed +8
-10
lines changed
src/modules/cmdpal/Microsoft.CmdPal.UI/ExtViews
1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 27
27
EmptyValue =" Collapsed"
28
28
NotEmptyValue =" Visible" />
29
29
30
- <StackLayout
31
- x : Name =" HorizontalStackLayout"
32
- Orientation =" Horizontal"
33
- Spacing =" 4" />
34
-
35
30
<DataTemplate x : Key =" TagTemplate" x : DataType =" viewmodels:TagViewModel" >
36
31
<ItemContainer >
37
32
<cpcontrols : Tag
86
81
Visibility =" {x:Bind Subtitle, Mode=OneWay, Converter={StaticResource StringVisibilityConverter}}" />
87
82
</StackPanel >
88
83
89
- <ItemsView
84
+ <ItemsControl
90
85
Grid.RowSpan=" 2"
91
86
Grid.Column=" 2"
92
87
Margin =" 0,0,8,0"
93
88
VerticalAlignment =" Center"
94
89
IsHitTestVisible =" False"
95
- IsItemInvokedEnabled =" False"
96
90
IsTabStop =" False"
97
91
ItemTemplate =" {StaticResource TagTemplate}"
98
92
ItemsSource =" {x:Bind Tags, Mode=OneWay}"
99
- Layout =" {StaticResource HorizontalStackLayout}"
100
- SelectionMode =" None"
101
- Visibility =" {x:Bind HasTags, Mode=OneWay}" />
93
+ Visibility =" {x:Bind HasTags, Mode=OneWay}" >
94
+ <ItemsControl .ItemsPanel>
95
+ <ItemsPanelTemplate >
96
+ <StackPanel Orientation =" Horizontal" Spacing =" 4" />
97
+ </ItemsPanelTemplate >
98
+ </ItemsControl .ItemsPanel>
99
+ </ItemsControl >
102
100
</Grid >
103
101
</DataTemplate >
104
102
</Page .Resources>
You can’t perform that action at this time.
0 commit comments