Change image size

Hi,

How can I change the image size?

The first picker is with ThemeName = "Default". The second picker is with ThemeName = "Office2019Colorful".

I like the Office2019 themes but want a smaller image inside the picker, as the first one.


Regards

Thomas


4 Replies

SN Sudharsan Narayanan Syncfusion Team December 21, 2021 04:18 AM UTC

Hi Thomas,

We checked the reported query that “Change the Dropdown icon size” from our end. We can achieve the drop down icon size by using the “DropDownButtonWidth” property to change the size. So, please find the code snippet from below,

Code Snippet:

 
sfDateTimeEdit1.DropDownButtonWidth = 20; 

Please check the sample and let us know your concerns on this. We are happy to assist you.

Regards,
Sudharsan



TE Thomas Ellingsen December 21, 2021 09:38 AM UTC

Thanks, it works great but I have to set theme name to nothing. With a theme name the button can't be changed.

Can I change the up/down arrows to?




SN Sudharsan Narayanan Syncfusion Team December 23, 2021 03:59 AM UTC

Hi Thomas,

Query 1: With a theme name the button Size can't be changed


We logged a bug report on “With a theme name the button size can't be changed” from our end. The fix for the issue will be available by patch on or before 12th January 2021. You can track the status of the issue using the feedback link below.   

Feed Back : https://www.syncfusion.com/feedback/31419/dropdownbuttonwidth-of-sfdatetimeedit-is-not-working-when-office2019colorful-theme


Query 2:
Can I change the up/down arrows to?


We checked the reported query, and we suggest to use the customized navigation button by changing the Up/Down Arrow icons.
Icons used for navigation buttons can be changed by Up and Down Arrow Image properties of the SfCalendar as given in the below documentation link. So please find the link from the below for the reference,

Link: https://help.syncfusion.com/windowsforms/calendar/appearance#customize-navigation-buttons

Regards,
Sudharsan
 
 



GT Gokul Thanudhas Syncfusion Team June 22, 2022 01:12 PM UTC

Hi Thomas,


Sorry for the inconvenience caused.


We have fixed the reported issue by changing the dropdownbutton size as in the Default Theme. We have included the fix for the reported issue “Change the Dropdown icon size” in our Weekly NuGet release update version 20.1.0.59 which is available for download (https://www.nuget.org/).




Regards,

Gokul T



Loader.
Up arrow icon