Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Frame Padding, Can it still be changed?

$
0
0

I have a Frame surrounding an Entry view. I know the default padding is 20 for a frame but I cannot seem to change this. My XAML looks like this:

        <Style x:Key="standardEntryBorder" TargetType="Frame">
            <Setter Property="HasShadow" Value="True" />
            <Setter Property="OutlineColor" Value="#b6b6b5"/>
            <Setter Property="Padding" Value="1,1,1,1"/>
        </Style>

I set my Frame to have a style of type standardEntryBorder and the shadow (on iOS) and outline work as expected. I cannot seem to get padding to work even though the project builds and runs without any problems or errors.

Is this something that cannot be changed or is there a bug preventing this?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>