Unplanned
Last Updated: 06 Nov 2018 09:13 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 02 Nov 2018 07:53
Category: Buttons
Type: Bug Report
5
FIX. RadRadioButton - checkmark is not rendered properly at DPI scaling >150%
Workaround: disable the default scaling and adjust the font and minimum size

        Me.RadRadioButton1.Font = New Font("Arial", 12, FontStyle.Regular)
        Me.RadRadioButton1.ButtonElement.CheckMarkPrimitive.MinSize = New Size(20, 20)
        Dim radioPrimitive As RadioPrimitive = Me.RadRadioButton1.ButtonElement.CheckMarkPrimitive.FindDescendant(Of RadioPrimitive)()
        radioPrimitive.MinSize = New Size(21, 21)

    Public Class CutsomRadioButton
        Inherits RadRadioButton
        Protected Overrides Sub ScaleControl(factor As SizeF, specified As BoundsSpecified)
             
        End Sub
    End Class
0 comments