Hi Benjamin,
Greetings from Syncfusion.
We have analyzed your requirement and we would like to inform you that the Stack layout children are fill and expand by default if we not specified the Horizontal and vertical options.
We can resize the segmented control inside the stack by specifying the Horizontal and vertical option along with Width and Height request by below.
<border:SfBorder WidthRequest="450" HeightRequest="500">
<StackLayout>
<buttons:SfSegmentedControl HorizontalOptions="Start" VerticalOptions=" Start" HeightRequest="150" WidthRequest="200"
BorderColor="#3F3F3F"
FontColor="Black"
CornerRadius="5"
SegmentCornerRadius="5"
SegmentHeight="40"
Color="LightBlue"
SelectionTextColor="#02A0AE">
<sys:List x:TypeArguments="x:String">
<x:String>Hide</x:String>
<x:String>Show</x:String>
</sys:List>
</buttons:SfSegmentedControl>
</StackLayout>
</border:SfBorder> |
Please let us know if you have any other queries.
Thanks,
Muneesh Kumar G