Skip to content

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

@divyesh008

Description

@divyesh008

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions