Open machinekoder opened 6 years ago
The ternary operator is recommended to be used in QML. Right now it breaks code folding.
import QtQuick 2.0 import QtQuick.Controls 2.0 Item { id: root width: 500 height: 500 property string someText: root.width < 500 ? "small" : "big" // ? condition also breaks code folding }
It is also highlighted in Red as an error
The ternary operator is recommended to be used in QML. Right now it breaks code folding.