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

Introduce GridLayout #568

Merged
merged 5 commits into from Feb 9, 2024
Merged

Introduce GridLayout #568

merged 5 commits into from Feb 9, 2024

Conversation

enisn
Copy link
Owner

@enisn enisn commented Feb 9, 2024

A new layout: GridLayout.

Similar to MAUI Grid, but no more manually setting Grid.Row & Grid.Column.

<uranium:GridLayout Margin="20"
        RowCount="3"
        ColumnCount="3" 
        ColumnSpacing="16" 
        RowSpacing="16"
        ColumnGridLength="120"
        RowGridLength="120">
    <BoxView Color="Red" Grid.RowSpan="2" />
    <BoxView Color="Green" Grid.ColumnSpan="2" />
    <BoxView Color="LightBlue" />
    <BoxView Color="Blue" />
    <BoxView Color="DarkBlue" />
    <BoxView Color="Yellow" />
</uranium:GridLayout>

image

@enisn enisn added this to the v2.8 milestone Feb 9, 2024
@enisn enisn merged commit e3d0f63 into develop Feb 9, 2024
3 checks passed
@enisn enisn deleted the grid-layout branch February 9, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant