Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 15a9c14

Browse files
Fix an issue with a red color on the Entry control
1 parent d7b3f27 commit 15a9c14

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

example/ExampleMaterialDesignControls/App.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@
184184
<!-- MaterialEntry -->
185185
<Style TargetType="material:MaterialEntry" BasedOn="{StaticResource BaseMaterialStyle}">
186186
<Setter Property="BackgroundColor" Value="{StaticResource BackgroundColor}" />
187-
<!--<Setter Property="ClearIcon" Value="cancel.png" />-->
187+
<Setter Property="ClearIcon" Value="cancel.png" />
188+
<Setter Property="ClearIconIsVisible" Value="True" />
188189
<Setter Property="ShowPasswordIcon" Value="showPassword.png" />
189190
</Style>
190191

src/MaterialDesignControls/Controls/MaterialEntry.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<custom:CustomEntry x:Name="txtEntry" VerticalOptions="Center" HorizontalOptions="FillAndExpand" />
1414
<custom:CustomImageButton x:Name="imgTrailingIcon" IsVisible="false" HorizontalOptions="End" />
1515
<custom:CustomImageButton x:Name="imgShowPasswordIcon" IsVisible="false" HorizontalOptions="End" />
16-
<custom:CustomImageButton x:Name="imgClearIcon" IsVisible="false" HorizontalOptions="End" BackgroundColor="Red" />
16+
<custom:CustomImageButton x:Name="imgClearIcon" IsVisible="false" HorizontalOptions="End" />
1717
</StackLayout>
1818
</Frame>
1919
<BoxView x:Name="bxvLine" HeightRequest="1" />

0 commit comments

Comments
 (0)