Skip to content

Commit

Permalink
Merge pull request #408 from peterblazejewicz/fix/396
Browse files Browse the repository at this point in the history
[fix] provide height hints for carousel controls
  • Loading branch information
jfversluis committed Jan 23, 2024
2 parents 9631125 + a4f9d99 commit 7312fd7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
<viewmodels:MonkeysViewModel />
</ContentPage.BindingContext>
<StackLayout Margin="10">
<CarouselView ItemsSource="{Binding Monkeys}"
<CarouselView HeightRequest="400"
ItemsSource="{Binding Monkeys}"
IndicatorView="indicatorView">
<CarouselView.ItemTemplate>
<DataTemplate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
</Picker>
<CarouselView Grid.Row="5"
Grid.ColumnSpan="2"
HeightRequest="320"
ItemsSource="{Binding Monkeys}"
IndicatorView="indicatorView">
<CarouselView.ItemTemplate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
</ContentPage.Resources>

<StackLayout Margin="10">
<CarouselView ItemsSource="{Binding Monkeys}"
<CarouselView HeightRequest="400"
ItemsSource="{Binding Monkeys}"
IndicatorView="indicatorView">
<CarouselView.ItemTemplate>
<DataTemplate>
Expand Down

0 comments on commit 7312fd7

Please sign in to comment.