Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradient BoxView no longer works as of Xamarin.Forms 4.0.0.540366 #4

Open
ShahmanTeh opened this issue Jul 15, 2019 · 0 comments
Open

Comments

@ShahmanTeh
Copy link

ShahmanTeh commented Jul 15, 2019

The code snippet of the following:

<Frame
    Grid.Column="0"
    Grid.Row="0"
    HorizontalOptions="Center"
    VerticalOptions="Center"
    WidthRequest="30"
    HeightRequest="30"
    Padding="0"
    CornerRadius="250">
    <Grid>
        <devsDna:GradientBoxView
            TopColor="{StaticResource Primary}"
            BottomColor="{StaticResource PrimaryDark}"
            HorizontalOptions="Center"
            VerticalOptions="Center"
            CornerRadius="250" />
        <Label
            FontSize="{StaticResource Medium}"
            FontFamily="{StaticResource LatoBold}"
            Text="{Binding Position}"
            HorizontalTextAlignment="Center"
            VerticalTextAlignment="Center"
            TextColor="{StaticResource Accent}" />
    </Grid>
</Frame>

Produce the following:

image

This was working on previous version. @DevsDNA please investigate the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant