dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.28k stars 1.76k forks source link

[Slider] MAUI Slider thumb image is big on android #13258

Open Strypper opened 1 year ago

Strypper commented 1 year ago

Description

The thumb control on the slider is too big on Android (right) When it should be like Windows on the left image

Steps to Reproduce

<Slider MinimumTrackColor="#6e50db" ThumbImageSource="dotnet_bot.png" />

Link to public reproduction project repository

https://github.com/Strypper/mauisland

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 11

Did you find any workaround?

No

Relevant log output

None
drasticactions commented 1 year ago

There's no scaling for images within that control, so depending on the platform defaults it happens to be "small" or "large". If you set that with an Image where you set the size yourself down to the required value, it will work.

See https://github.com/dotnet/maui/issues/11984, which is a similar quirk.

ghost commented 1 year ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

jinxinjuan commented 1 year ago

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Can repro on Android platform with sample project. mauisland

Detilisi commented 1 week ago

Is this issue fixed yet?