Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QML Radio Button Style is not working properly when using Qt Quick 2d Renderer



  • I am using QML radio button in my application. Also i am using RadioButtonStyle
    in my app. When i am Applying the radio button style to the radio button, line draw between radio button.

    My Code is,

    Component {
    id: exampleRadioButtonStyle
    RadioButtonStyle {
    label: Text {
    text: control.text
    font.pixelSize: 20
    font.family: "Roboto-Regular"
    font.bold: true
    color: "black"
    smooth: true
    opacity: 1
    }
    }
    }

    RadioButton
    {
    text: "example"
    style: exampleRadioButtonStyle
    }

    Any one give the solution for the problem.


Log in to reply