2 StackLayouts, 1 with padding, 1 to fit rest of screen

Alexander Blohmé 1 Reputation point

How can I add a padding to 1 StackLayout and not the other one when having 2 StackLayouts? See the image, I want the map to expand all the way left & right, but retain the white box stack layout.

Any ideas?255375-screenshot-2022-10-29-at-235516.png

A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,287 questions
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,820 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alexander Blohmé 1 Reputation point

    I fixed it by using Grid !

    0 comments No comments