Hello,
I'm using a SegmentedControl in a Content View :
<
telerikInput:RadSegmentedControl
Grid.Row
=
"1"
HeightRequest
=
"50"
HorizontalOptions
=
"Center"
VerticalOptions
=
"Center"
ItemsSource
=
"{Binding LargeImages}"
SelectedIndex
=
"{Binding SelectedIndex, Mode=TwoWay}"
AutomationId
=
"ImagesSegmentedControl"
>
</
telerikInput:RadSegmentedControl
>
On my ViewModel : I initialize the LargeImages collections as in the QSF samples.
this
.LargeImages =
new
ObservableCollection<ImageSource>()
{
CreateImage(
"zero2.png"
),
CreateImage(
"on.png"
),
CreateImage(
"pendule.png"
)
};
private
static
ImageSource CreateImage(
string
name)
{
if
(Device.RuntimePlatform == Device.UWP)
{
name =
string
.Format(
"Assets/{0}"
, name);
}
return
ImageSource.FromFile(name);
}
When displaying on Android, all the images keep there original scale.
On Ios, all the images are "distorted".
I make screenshot on a Android example and an Ios example. You can see that on Ios, it's not good.
I there template options that i can use to make it work ?