Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QML Material Design styles
krobinson last edited by
Working with the material deign style, I have come across a few things that I would like to change. Mainly it seems that the style is geared toward touch so it has a lot of padding, etc on things. This is nice, but sometimes it ends up looking weird in the desktop environment with so much extra space. An example of something that I would like to modify is with the CheckBox. It has the circle behind the check when hovering. I would like to remove that to regain all the space that it takes up. I found the CheckBox.qml in the source at qtquickcontrols2\src\imports\controls\material. I figured maybe I could just create a new style copy the indicator over leaving out the Ripple control. The issue I am having is that the CheckIndicator is not defined. I am assuming it is part of QtQuick.Controls.Material.impl 2.2, but that cannot be found if I try to include it. Is there any way that I can make this work? I would like to keep the material check indicator.
jiancaiyang last edited by
@krobinson It will be similar to my post: https://forum.qt.io/topic/86296/qt-quick-controls-2-material-size-too-big-on-desktop/8