I have two buttons in a Horizontal Stack panel.
<StackLayout Orientation="Horizontal" VerticalOptions="End"> <Button Text="Reset" /> <Button Text="Search" HorizontalOptions="FillAndExpand" BackgroundColor="#3b5998" /> </StackLayout>
When I apply a BackgroundColor to one, it changes in size to fill the StackPanel. Am I misunderstand something or is this a bug? I have tried to apply a margin to this but it simply expands the StackPanel and causes the other button to expand further!
I would appreciate any advice, many thanks.
Edit: I am using Xamarin.Forms 220.127.116.11-pre1 because of my use of Prism.Unity.Forms