syncfusion / xamarin-showcase-emi-calculator

This repository contains a cross-platform demo application built using Xamarin.Forms and Syncfusion controls. This app helps users to calculate EMI for the given principal, interest and tenure.
65 stars 36 forks source link

NumericUpDown spin buttons icons height shows real big in Android device, and not showing up in iOS #10

Open divyesh008 opened 4 years ago

divyesh008 commented 4 years ago

I have follow the LoanCalculator sample to add images in Increment and Decrement button settings. When I have run the application in both platform I have face different issues.

1 Android Output -Up/Down buttons showing in very big size, I'm not able to resize it.

Screenshot 2020-08-20 at 1 14 21 PM

2 iOS Output -Up/Down buttons not showing at all Screenshot 2020-08-20 at 1 27 07 PM

<CustomControl:CustomSFNumeric.IncrementButtonSettings ButtonHeight="25" ButtonWidth="25">
    <numericUpDown:UpDownButtonSettings>
        <numericUpDown:UpDownButtonSettings.ButtonView>
            <Image Source="{resource:ImageConverter Coeqwety.Images.plus.png}"
                    HeightRequest="15" WidthRequest="15"/>
        </numericUpDown:UpDownButtonSettings.ButtonView>
    </numericUpDown:UpDownButtonSettings>
</CustomControl:CustomSFNumeric.IncrementButtonSettings>

<CustomControl:CustomSFNumeric.DecrementButtonSettings ButtonHeight="25" ButtonWidth="25">
    <numericUpDown:UpDownButtonSettings>
        <numericUpDown:UpDownButtonSettings.ButtonView>
            <Image Source="{resource:ImageConverter Coeqwety.Images.minus.png}"
                    HeightRequest="15" WidthRequest="15" />
        </numericUpDown:UpDownButtonSettings.ButtonView>
    </numericUpDown:UpDownButtonSettings>
</CustomControl:CustomSFNumeric.DecrementButtonSettings>

UPDATE:

Setting Fixed Height and Width Manually resolved the issue in iOS but in android icons HEIGHT this issue still persist.

Screenshot 2020-08-20 at 2 52 41 PM

Versions used : Syncfusion : 17.4.0.44 Xamarin.Forms : 4.6.0.726

Thanks for your assistance on how to correct this issue. Best regards !

mrhemalatha commented 4 years ago

Hi @divyesh008

We would like to inform you to upgrade the latest Syncfusion version to resolve the reported problem.

So, can you please check with latest Syncfusion NuGet version (18.2.0.56) and confirm us whether the reported issue resolved or not?

divyesh008 commented 4 years ago

@HemalathaMarikuma-syncfusion sure I will check it and let you know.

divyesh008 commented 4 years ago

@HemalathaMarikuma-syncfusion I have checked it with your suggested version but still I am getting the same output in android version 7.0