Completed
Last Updated: 07 Aug 2022 10:10 by ADMIN
Paolo
Created on: 16 Jun 2022 16:10
Category: VirtualKeyboard
Type: Bug Report
0
Key buttons are not correctly rendered (wrong width)

Our company would like to use in a greenfield project this new UI component.

On our machine, in both our sample projects and even running your official WPF Demo App, the virtualkeyboard component does not render its buttons correctly.

 

This is our sample xaml:

 

<Window x:Class="TelerikWpfApp1.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                Title="MainWindow" Height="350" Width="525">
        <Grid>
        <telerik:RadVirtualKeyboard DefaultKeyboardLayout="Compact" HorizontalAlignment="Stretch" />
    </Grid>
</Window>

 

In the attachment you can see how the virtualkeyboard renders ootb. Are we missing something?

Attached Files:
2 comments
ADMIN
Petar Mladenov
Posted on: 17 Jun 2022 09:46

Hello Paolo,

Thank you for this report.

We've logged the issue on your behalf in our portal and we are currently working on a fix, we will do our best to have it included in our service pack next week. The issue originates from wrong parsing of the internal xml file containing the keyboard definition.

A possible workaround ( for the time you wait for the fix) you may set the global culture like so in your application:

  public MainWindow()
        {
            Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
            InitializeComponent();

Regards,
Petar Mladenov
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/.