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

Border in Surface3D



  • Hi Qt community ,

    Do you know how to get rid of the white border existing around the Surface3D element?
    alt text

    Right now I have the following settings in the theme porperty:

    theme: Theme3D {
                    type: Theme3D.Digia
                    font.family: "STCaiyun"
                    font.pixelSize: 35
                    backgroundColor: "transparent   "
                    windowColor: "#edefee"
                    labelBorderEnabled: false
                    labelBackgroundColor: "#34acbd"
                }
    

    I don't see any option available at https://doc.qt.io/qt-5/qml-qtdatavisualization-theme3d.html

    Thanks for your help ;)



  • Never mind. A Rectangle was my problem. I didn't know its border color was white by default.


Log in to reply