QML Material Design styles



  • 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.




  • Qt Champions 2016

    @krobinson good news: there's some work on 'dense' style for desktop: https://bugreports.qt.io/browse/QTBUG-51109


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.