Windows 11 Theme fontsize problem

item text  incomplete display ,office2019 vs windows 11

Image_6791_1756544013024



5 Replies

KS Koppolu Sai Sivani Koppolu Ragaiah Syncfusion Team September 3, 2025 05:25 AM UTC

Screenshot 2025-09-03 103504.png


Hi Zechary,

We are unable to reproduce the reported issue based on the given information. Please refer to the sample and screenshot provided for your reference.

Could you please share the following information so that we can better analyze the issue and provide a solution?

  • Modified sample that replicates the issue.
  • The screen resolution and DPI scaling settings.

Regards,

K Sai Sivani


Attachment: SfTreeNavigator_Sample_44b616dd.zip


ZE Zechary September 6, 2025 10:18 AM UTC

set fontsize greater than 16

<navigation:SfTreeNavigator Header="Enterprise Toolkit" Width="300" Height="300" FontSize="16">



ZE Zechary replied to Koppolu Sai Sivani Koppolu Ragaiah September 7, 2025 10:19 AM UTC

set fontsize greater than 16

<navigation:SfTreeNavigator Header="Enterprise Toolkit" Width="300" Height="300" FontSize="16">



KS Koppolu Sai Sivani Koppolu Ragaiah Syncfusion Team September 9, 2025 09:16 AM UTC

Hi Zechary,

We have confirmed that the reported scenario is a defect and have logged a report for the reported scenario "TreeNavigatorItem content cropped when applying Windows 11 Theme for SfTreeNavigator control." We will fix this issue and include it in our NuGet release, which is scheduled for 30th September 2025.

You can track the status of this defect using the following feedback link: TreeNavigatorItem content cropped when applying Windows 11 Theme for SfTreeNavigator control in WPF | Feedback Portal

Please let us know if you need any further assistance.

Note: The provided feedback link is private, and you need to log in to view this feedback.

Disclaimer: "Inclusion of this solution in the weekly release may change due to other factors, including but not limited to QA checks and work reprioritization."

Regards,
K Sai Sivani



KS Koppolu Sai Sivani Koppolu Ragaiah Syncfusion Team October 1, 2025 01:10 PM UTC

Hi Zechery,

Apologies for the inconvenience.

After further analysis, we found that in the current control structure, the default height of SfTreeNavigatorItem is determined by the default font size. When the font size is significantly increased, the item's content may get cropped.

To address this, we recommend the following workaround:

 

  • Set the ItemHeight property of SfTreeNavigatorItem to NaN This enables dynamic sizing of the item based on its content.
  • Set the ApplyThemeAsDefaultStyle property to true This applies theme-based styles to each control’s default style, allowing you to override the default theme styles with custom modifications for greater control over the visual appearance of your application.

Please refer to the provided sample to implement this workaround.

Let us know if you have any questions or need further assistance.

Regards,
K Sai Sivani


Attachment: TreeNavigator_Sample_49bbccc0.zip

Loader.
Up arrow icon