net maui windows platform how to make label wordwrap when I make the app smaller ?
Sami
966
Reputation points
I have created BindableLayout inside Label when I make the desktop app smaller then screensize if the content of label is so long must be wordwrap and then app is larger width content has to be full content...but inside of item of label is not wordwrap, dissapears how can I fix it..thanks
<StackLayout x:Name="ExtendedItemsListing" Grid.Row="1" Orientation="Vertical" BindableLayout.ItemsSource="{Binding MyList}">
<BindableLayout.ItemTemplate>
<DataTemplate>
<Grid x:Name="titleGrid" HeightRequest="45">
<Label Text="{Binding Title}" MaxLines="2" LineBreakMode="WordWrap" />
</Grid>
</DataTemplate>
</BindableLayout.ItemTemplate>
</StackLayout>
Sign in to answer