Switched to qmlformat.

This commit is contained in:
ItsLemmy
2025-11-16 17:07:03 -05:00
parent 32905224b9
commit 3ff5b7639f
223 changed files with 9970 additions and 9658 deletions
+13 -13
View File
@@ -16,8 +16,8 @@ Item {
property int horizontalPolicy: ScrollBar.AlwaysOff
readonly property bool verticalScrollBarActive: {
if (listView.ScrollBar.vertical.policy === ScrollBar.AlwaysOff)
return false
return listView.contentHeight > listView.height
return false;
return listView.contentHeight > listView.height;
}
readonly property real scrollBarWidth: verticalScrollBarActive ? handleWidth : 0
@@ -62,47 +62,47 @@ Item {
// Forward ListView methods
function positionViewAtIndex(index, mode) {
listView.positionViewAtIndex(index, mode)
listView.positionViewAtIndex(index, mode);
}
function positionViewAtBeginning() {
listView.positionViewAtBeginning()
listView.positionViewAtBeginning();
}
function positionViewAtEnd() {
listView.positionViewAtEnd()
listView.positionViewAtEnd();
}
function forceLayout() {
listView.forceLayout()
listView.forceLayout();
}
function cancelFlick() {
listView.cancelFlick()
listView.cancelFlick();
}
function flick(xVelocity, yVelocity) {
listView.flick(xVelocity, yVelocity)
listView.flick(xVelocity, yVelocity);
}
function incrementCurrentIndex() {
listView.incrementCurrentIndex()
listView.incrementCurrentIndex();
}
function decrementCurrentIndex() {
listView.decrementCurrentIndex()
listView.decrementCurrentIndex();
}
function indexAt(x, y) {
return listView.indexAt(x, y)
return listView.indexAt(x, y);
}
function itemAt(x, y) {
return listView.itemAt(x, y)
return listView.itemAt(x, y);
}
function itemAtIndex(index) {
return listView.itemAtIndex(index)
return listView.itemAtIndex(index);
}
// Set reasonable implicit sizes for Layout usage