diff --git a/qml/Controls/IconButton.qml b/qml/Controls/IconButton.qml index f7a4edf..f8a0208 100644 --- a/qml/Controls/IconButton.qml +++ b/qml/Controls/IconButton.qml @@ -48,6 +48,7 @@ Item { width: control.height * 0.64 height: width sourceSize: Qt.size(width, height) + smooth: false } MouseArea { diff --git a/qml/Dialogs/OpenWithDialog.qml b/qml/Dialogs/OpenWithDialog.qml index adf7587..fcb55c1 100644 --- a/qml/Dialogs/OpenWithDialog.qml +++ b/qml/Dialogs/OpenWithDialog.qml @@ -69,9 +69,9 @@ Item { Layout.fillWidth: true Layout.preferredHeight: 200 model: ListModel {} - clip: true - spacing: FishUI.Units.largeSpacing + spacing: FishUI.Units.smallSpacing * 1.5 ScrollBar.vertical: ScrollBar {} + clip: true Label { anchors.centerIn: parent @@ -82,7 +82,7 @@ Item { delegate: Item { id: item width: ListView.view.width - height: 45 + height: 30 + FishUI.Units.largeSpacing scale: mouseArea.pressed ? 0.95 : 1.0 Behavior on scale { @@ -116,12 +116,12 @@ Item { RowLayout { anchors.fill: parent anchors.margins: FishUI.Units.smallSpacing - spacing: FishUI.Units.largeSpacing + spacing: FishUI.Units.smallSpacing Image { id: icon source: "image://icontheme/" + model.icon - width: item.height * 0.7 + width: 30 height: width sourceSize: Qt.size(width, height) Layout.alignment: Qt.AlignLeft diff --git a/qml/FolderGridItem.qml b/qml/FolderGridItem.qml index 3c8d92b..e5a9c93 100644 --- a/qml/FolderGridItem.qml +++ b/qml/FolderGridItem.qml @@ -94,6 +94,7 @@ Item { sourceSize: Qt.size(width, height) source: "image://icontheme/" + model.iconName visible: !_image.visible + smooth: false ColorOverlay { anchors.fill: _icon @@ -127,6 +128,7 @@ Item { source: model.thumbnail ? model.thumbnail : "" asynchronous: true cache: false + smooth: false // Because of the effect of OpacityMask. ColorOverlay { diff --git a/qml/FolderListItem.qml b/qml/FolderListItem.qml index 953c958..8ef892c 100644 --- a/qml/FolderListItem.qml +++ b/qml/FolderListItem.qml @@ -86,6 +86,7 @@ Item { source: "image://icontheme/" + model.iconName visible: !_image.visible asynchronous: true + smooth: false } Image { diff --git a/qml/OptionsMenu.qml b/qml/OptionsMenu.qml index 313d128..6515e93 100644 --- a/qml/OptionsMenu.qml +++ b/qml/OptionsMenu.qml @@ -34,8 +34,10 @@ FishUI.DesktopMenu { anchors.left: parent.left anchors.leftMargin: FishUI.Units.largeSpacing source: FishUI.Theme.darkMode ? "qrc:/images/dark/grid.svg" : "qrc:/images/light/grid.svg" + sourceSize: Qt.size(width, height) width: 22 height: width + smooth: false } Text { @@ -51,9 +53,11 @@ FishUI.DesktopMenu { anchors.right: parent.right anchors.rightMargin: FishUI.Units.largeSpacing * 1.5 source: FishUI.Theme.darkMode ? "qrc:/images/dark/checked.svg" : "qrc:/images/light/checked.svg" + sourceSize: Qt.size(width, height) width: 22 height: width visible: settings.viewMethod === 1 + smooth: false } onTriggered: settings.viewMethod = 1 @@ -68,8 +72,10 @@ FishUI.DesktopMenu { anchors.left: parent.left anchors.leftMargin: FishUI.Units.largeSpacing source: FishUI.Theme.darkMode ? "qrc:/images/dark/list.svg" : "qrc:/images/light/list.svg" + sourceSize: Qt.size(width, height) width: 22 height: width + smooth: false } Text { @@ -85,9 +91,11 @@ FishUI.DesktopMenu { anchors.right: parent.right anchors.rightMargin: FishUI.Units.largeSpacing * 1.5 source: FishUI.Theme.darkMode ? "qrc:/images/dark/checked.svg" : "qrc:/images/light/checked.svg" + sourceSize: Qt.size(width, height) width: 22 height: width visible: settings.viewMethod === 0 + smooth: false } onTriggered: settings.viewMethod = 0 @@ -104,8 +112,10 @@ FishUI.DesktopMenu { anchors.left: parent.left anchors.leftMargin: FishUI.Units.largeSpacing source: FishUI.Theme.darkMode ? "qrc:/images/dark/order_by_name.svg" : "qrc:/images/light/order_by_name.svg" + sourceSize: Qt.size(width, height) width: 22 height: width + smooth: false } Text { @@ -121,9 +131,11 @@ FishUI.DesktopMenu { anchors.right: parent.right anchors.rightMargin: FishUI.Units.largeSpacing * 1.5 source: FishUI.Theme.darkMode ? "qrc:/images/dark/up.svg" : "qrc:/images/light/up.svg" + sourceSize: Qt.size(width, height) height: width width: 22 visible: settings.orderBy === 0 + smooth: false } onTriggered: settings.orderBy = 0 @@ -138,8 +150,10 @@ FishUI.DesktopMenu { anchors.left: parent.left anchors.leftMargin: FishUI.Units.largeSpacing source: FishUI.Theme.darkMode ? "qrc:/images/dark/date.svg" : "qrc:/images/light/date.svg" + sourceSize: Qt.size(width, height) width: 22 height: width + smooth: false } Text { @@ -155,9 +169,11 @@ FishUI.DesktopMenu { anchors.right: parent.right anchors.rightMargin: FishUI.Units.largeSpacing * 1.5 source: FishUI.Theme.darkMode ? "qrc:/images/dark/up.svg" : "qrc:/images/light/up.svg" + sourceSize: Qt.size(width, height) width: 22 height: width visible: settings.orderBy === 1 + smooth: false } onTriggered: settings.orderBy = 1 @@ -172,8 +188,10 @@ FishUI.DesktopMenu { anchors.left: parent.left anchors.leftMargin: FishUI.Units.largeSpacing source: FishUI.Theme.darkMode ? "qrc:/images/dark/size.svg" : "qrc:/images/light/size.svg" + sourceSize: Qt.size(width, height) width: 22 height: width + smooth: false } Text { @@ -189,9 +207,11 @@ FishUI.DesktopMenu { anchors.right: parent.right anchors.rightMargin: FishUI.Units.largeSpacing * 1.5 source: FishUI.Theme.darkMode ? "qrc:/images/dark/up.svg" : "qrc:/images/light/up.svg" + sourceSize: Qt.size(width, height) width: 22 height: width visible: settings.orderBy === 2 + smooth: false } onTriggered: settings.orderBy = 2 diff --git a/qml/SideBar.qml b/qml/SideBar.qml index d46a136..165f004 100644 --- a/qml/SideBar.qml +++ b/qml/SideBar.qml @@ -104,7 +104,7 @@ ListView { // source: model.iconPath ? model.iconPath : "image://icontheme/" + model.iconName source: "qrc:/images/" + (FishUI.Theme.darkMode || _item.checked ? "dark/" : "light/") + model.iconPath Layout.alignment: Qt.AlignVCenter - smooth: true + smooth: false } Label {