Native look on Mac
-
Hi,
I have tried two ways to get a native look in QML. First using Qt Quick Controls 1:
Secondly using the KDE QQC2 style:
I'm mostly happy with how this works out, but as you can see the text in the buttons and drop-down menu is not centered vertically. Is there an option that I can set to fix this? I have noticed that the same problem exists in the Qt Quick Controls 1 examples that come with the Qt distribution. It seems to be related to the style, since using the default style in Qt Quick Controls 2 looks perfect (but non-native, of course):
For reference, the QML code for the QQC2 version is here: https://github.com/barche/QML.jl/blob/master/example/qml/progressbar.qml