Button - problem with hover text color

1 Answer 319 Views
Button
Daniel
Top achievements
Rank 1
Silver
Bronze
Daniel asked on 09 Mar 2022, 02:49 PM | edited on 09 Mar 2022, 02:50 PM

Hi.

 <telerik:RadButton Grid.Row="4" Grid.Column ="0" Text="Login" HorizontalOptions="CenterAndExpand" VerticalOptions="Center" Clicked="OnLoginClicked"/>

<Color x:Key="PrimaryColor">#03446a</Color>
            <Color x:Key="SecondaryColor">White</Color>

 <Style TargetType="telerik:RadButton">
                <Setter Property="TextColor" Value="{DynamicResource SecondaryColor}" />
                <Setter Property="FontFamily" Value="OpenSansRegular" />
                <Setter Property="BackgroundColor" Value="{DynamicResource PrimaryColor}" />
                <Setter Property="Padding" Value="14,10" />
             </Style>

When I open login I get this look,

When I hover it the text  become black why ?

 

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 11 Mar 2022, 04:06 PM

Hello Daniel,

There is a closed issue regarding the change of the Button.TextColor property in the Maui GitHub repository - here is the Link. Since the issue is closed you can expect the fix in the next Maui Preview release. The issue occurs also in the RadButton as it inherits from the .NET MAUI Button.

If you have any further inquiries, please let us know.

Best Regards, Deyan Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Button
Asked by
Daniel
Top achievements
Rank 1
Silver
Bronze
Answers by
Deyan
Telerik team
Share this question
or