To reproduce:
ThemeResolutionService.ApplicationThemeName = "Windows11"
Dim UserGroup As New DescriptionTextListDataItem
With UserGroup
.Text = "Admins"
'.Font = New Font("Microsoft Sans Serif", 9.75, FontStyle.Bold)
.DescriptionText = "System Administrations Group"
End With
Me.RadListControl1.Items.Add(UserGroup)
Me.RadListControl1.ItemHeight = 50
Actual result:
Expected result:
Hi,
The same behavior is observed with the image which is also clipped:
In addition to the UseCompatibleTextRendering property which affects only the text, it is possible to apply a margin on the left side to display the whole image:
Private Sub RadListControl1_VisualItemFormatting(sender As Object, args As VisualItemFormattingEventArgs)
args.VisualItem.UseCompatibleTextRendering = False
Dim descriptionVisualItem As DescriptionTextListVisualItem = TryCast(args.VisualItem, DescriptionTextListVisualItem)
descriptionVisualItem.ImageContent.Margin = New Padding(10, 0, 0, 0)
End Sub
I hope this will help.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hi, Luke,
Thank you for bringing this to our attention.
The possible solution that I can suggest is to switch to GDI text rendering instead GDI+ by setting the UseCompatibleTextRendering property to false:
AddHandler Me.RadListControl1.VisualItemFormatting, AddressOf RadListControl1_VisualItemFormatting
Private Sub RadListControl1_VisualItemFormatting(sender As Object, args As VisualItemFormattingEventArgs)
args.VisualItem.UseCompatibleTextRendering = False
End Sub
Please excuse us for the inconvenience caused.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.