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

VerticalOptions issue, alignment not correct...

$
0
0

Hello guys,
I have a strange behavior on my XF app (on Android).

I made a custom Xamarin Forms control (pretty simple).
I Use it in a parent page and try to align it to the bottom of the page => so I use VerticalOptions="End"

But it doesn't really work => there is an empty line (1 px height I presume) above the control; so it's not totally a "End" alignment
(see attached file)

My config:
latest XF version, VS 2013,
device: Android 5.0.2, LG G2 mini (D620) => resolution QHD (960X540) => maybe it's the problem ?

I tried on a LG G2 (full HD) device, and it's working normally....

The content of my page is declared like that:

    <Grid BackgroundColor="{StaticResource Color_PearlGrey}">

        <!-- Content scrollview -->
        <ScrollView Orientation="Vertical" BackgroundColor="Gray">
    ...        
        </ScrollView>     

         <!-- FOOTER: AddressBox, Bind address text in code behind -->
          <CTRL:MyControl x:Name="uiAddressBox" VerticalOptions="End" IsVisible="True" />

      </Grid>      

Any clue ?
Thanks


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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