Skip to content

Commit

Permalink
chore: resolving PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunal22shah committed Nov 13, 2024
1 parent b74fa8a commit 39de470
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/library/Uno.Material/Styles/Controls/v2/ComboBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -460,10 +460,7 @@
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ComboBox">
<Grid x:Name="RootGrid"
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
Background="{TemplateBinding Background}"
CornerRadius="{ThemeResource ComboBoxCornerRadius}">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
Expand Down Expand Up @@ -585,7 +582,9 @@
</VisualStateManager.VisualStateGroups>

<Grid x:Name="ComboBoxContent"
Padding="{TemplateBinding Padding}">
Padding="{TemplateBinding Padding}"
Background="{TemplateBinding Background}"
CornerRadius="{ThemeResource ComboBoxCornerRadius}">
<Grid.Resources>
<!-- Resources added here in order to manage the ContentPresenter TranslateY depending if there is a PlaceholderText or not -->
<CompositeTransform x:Key="ContentPresenter_CompositeTransformWithPlaceholder"
Expand Down Expand Up @@ -685,8 +684,7 @@
<Border x:Name="BorderBorder"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="{ThemeResource ComboBoxCornerRadius}"
Background="Transparent" />
CornerRadius="{ThemeResource ComboBoxCornerRadius}" />

<!-- Popup -->
<Popup x:Name="Popup">
Expand Down

0 comments on commit 39de470

Please sign in to comment.