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

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 91519

Trending Articles


FLASHBACK WITH SIRASA FM AT GALGAMUWA 2022


Mp3 Download: Mdu - Mazola


Imitation gun was fired at motorist in Leicester road-rage incident


Ndebele names


MCKINNEY EMALINE “EMMA” OF WES...


Okra & Motia — The Workshop (Prod by Hammer)


Skint TV teen to be sentenced


Moondru Mudichu 19-09-2017 – Polimer tv Serial


YOSVANI JAMES Arrested by Miami-Dade County Corrections on Jan 10, 2017


Stories • Goddess Stepmom



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