File tree Expand file tree Collapse file tree
ControlThemes/PleasantControls Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 <Setter Property =" CornerRadius" Value =" {DynamicResource ControlCornerRadius}" />
2020 <Setter Property =" HorizontalAlignment" Value =" Stretch" />
2121 <Setter Property =" VerticalAlignment" Value =" Stretch" />
22+ <Setter Property =" SearchBoxCornerRadius" Value =" {DynamicResource ControlCornerRadius}" />
2223
2324 <Setter Property =" Template" >
2425 <ControlTemplate >
3940 Background =" {DynamicResource BackgroundColor1}"
4041 BorderBrush =" {DynamicResource ControlBorderColor}"
4142 BorderThickness =" {DynamicResource ControlBorderThickness}"
42- CornerRadius =" {DynamicResource ControlCornerRadius }"
43+ CornerRadius =" {TemplateBinding SearchBoxCornerRadius }"
4344 Padding =" 0" >
4445 <Grid ColumnDefinitions =" Auto,*,Auto" >
4546 <PathIcon Grid.Column=" 0"
Original file line number Diff line number Diff line change 140140 <Setter Property =" CornerRadius" Value =" {DynamicResource ControlCornerRadius}" />
141141 <Setter Property =" HorizontalAlignment" Value =" Stretch" />
142142 <Setter Property =" VerticalAlignment" Value =" Stretch" />
143+ <Setter Property =" SearchBoxCornerRadius" Value =" {DynamicResource ControlCornerRadius}" />
143144
144145 <Setter Property =" Template" >
145146 <ControlTemplate >
174175 Background =" {DynamicResource BackgroundColor1}"
175176 BorderBrush =" {DynamicResource ControlBorderColor}"
176177 BorderThickness =" {DynamicResource ControlBorderThickness}"
177- CornerRadius =" {DynamicResource ControlCornerRadius }"
178+ CornerRadius =" {TemplateBinding SearchBoxCornerRadius }"
178179 Padding =" 0"
179180 HorizontalAlignment =" Stretch" >
180181 <Grid ColumnDefinitions =" Auto,*,Auto" >
Original file line number Diff line number Diff line change 136136 </Style >
137137
138138 <!-- VGUI TreeViewPanel search box — square corners -->
139- <Style Selector =" controls|TreeViewPanel /template/ Border#PART_SearchBoxBorder " >
140- <Setter Property =" CornerRadius " Value =" 0" />
139+ <Style Selector =" controls|TreeViewPanel" >
140+ <Setter Property =" SearchBoxCornerRadius " Value =" 0" />
141141 </Style >
142142
143143 <!-- VGUI ItemListPanel search box — square corners -->
144- <Style Selector =" controls|ItemListPanel /template/ Border#PART_SearchBoxBorder " >
145- <Setter Property =" CornerRadius " Value =" 0" />
144+ <Style Selector =" controls|ItemListPanel" >
145+ <Setter Property =" SearchBoxCornerRadius " Value =" 0" />
146146 </Style >
147147
148148 <!-- VGUI ShadowBorder — square corners (used by ContentDialog shadow) -->
You can’t perform that action at this time.
0 commit comments