Completed
Last Updated: 12 Oct 2020 11:45 by ADMIN
Release R3 2020 SP1
David
Created on: 08 Oct 2020 10:35
Category: CheckedDropDownList
Type: Bug Report
0
RadCheckedDropDownList: scaling issue with TokenizedTextBlockElement on DPI higher that 100%
Hi Team,

This is a strange issue related to removing a TokenizedTextBlockElement from the CheckedDropDownList during high DPI scaling.
1 comment
ADMIN
Nadya | Tech Support Engineer
Posted on: 08 Oct 2020 10:50

Hello,

To work around this issue, create a custom TokenizedTextBlockElement and override the MinSize:

class TwTokenizedTextBlockElement : TokenizedTextBlockElement
{
     public override Size MinSize
     {
         get
         {
             Size s = (Size)this.GetValue(MinSizeProperty);
             return new Size(s.Width, TelerikDpiHelper.ScaleInt(s.Height, this.DpiScaleFactor));
         }
         set
         {
             base.MinSize = value;
         }
     }
 }

I hope this helps.

Regards,
Nadya
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.