Unplanned
Last Updated: 02 Feb 2023 17:32 by Nathan
Nathan
Created on: 02 Feb 2023 17:32
Category: Entry
Type: Bug Report
2
Entry: [Android] Border and FocusedBorder Brush and Thickness do not apply

When setting BorderBrush, BorderThickess, FocusedBorderBrush and FocusedBorderThickness do not apply on the entire entry control, they apply only on bottom. 

<VerticalStackLayout>
    <telerik:RadEntry Text="Hello World" TextColor="DarkRed" 
                        Background="Wheat"
                        FocusedBorderBrush="Yellow"
                        FocusedBorderThickness="10"
                        x:Name="entry" 
                        BorderBrush="DarkRed"
                        BorderThickness="8"
                        CornerRadius="5,7,7,5"
                        WidthRequest="150"/>
</VerticalStackLayout>

And the result:


 

Workaround: 

Place the entry in a RadBorder:

<telerik:RadBorder BorderColor="Red" CornerRadius="5,7,7,5" BorderThickness="4,4,4,4">
              <telerik:RadEntry Text="Hello World" TextColor="DarkRed" Background="Wheat" x:Name="entry" /> </telerik:RadBorder>

0 comments