Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 6.0.1
-
-
556ec7c20e (qt-creator/qt-creator/master)
Description
qmlformat moves the "unrelatedProp" over a bunch of whitespace to align with the "N/A" because of the nullish coalescing.
import QtQuick 2.15 import QtQuick.Controls 2.15 Item { property string otherString: "" property string aProp: otherString ?? "N/A" property int unrelatedProp: 10 }