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

bottom padding ignored by NeoFrame #9

Open
softlion opened this issue Aug 28, 2024 · 2 comments
Open

bottom padding ignored by NeoFrame #9

softlion opened this issue Aug 28, 2024 · 2 comments
Assignees

Comments

@softlion
Copy link
Contributor

softlion commented Aug 28, 2024

Nuget: .net8 prerelease

With this code:

            <NeoFrame 
                   Grid.ColumnSpan="2"
                   Elevation=".25"
                   CornerRadius="10,10,10,10"
                   BackgroundColor="#e3edf7">
                   <StackLayout Orientation="Vertical" Spacing="0" Padding="0, 15" HorizontalOptions="Center">
                       <Label Text="Home"
                          FontFamily="RobotoCondensedRegular"
                          FontSize="Title" TextColor="Black"/>

                       <Label Text="Lorem Ipsum is"
                          FontFamily="RobotoCondensedBold"
                          FontSize="Micro" TextColor="Black" />
                   </StackLayout>
            </NeoFrame>

The Padding="0, 15" is ok for top right and left, but ignored for bottom. Whatever you set as bottom value, it is ignored. Same issue for Margin. Happen both when set on StackLayout or NeoFrame.

@softlion
Copy link
Contributor Author

image

@felipebaltazar
Copy link
Owner

@softlion Thank you, I will investigate the problem further.

Feel free to submit a pull request to contribute to the fix

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

No branches or pull requests

2 participants