additional new ui changes, part 4 (#2481)

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel
2024-06-28 17:11:12 -04:00
committed by GitHub
parent d893a6e5d6
commit f2cad6abaa
29 changed files with 184 additions and 117 deletions

View File

@@ -295,23 +295,12 @@ Rectangle {
color: theme.dividerColor
}
RowLayout {
Layout.fillWidth: true
spacing: 30
Layout.leftMargin: 15
Layout.topMargin: 15
Text {
text: qsTr("Remove")
elide: Text.ElideRight
color: theme.red500
font.bold: true
font.pixelSize: theme.fontSizeSmall
TapHandler {
onTapped: {
Download.removeModel(filename);
}
}
}
MySettingsButton {
text: qsTr("Remove")
textColor: theme.red500
onClicked: Download.removeModel(filename)
backgroundColor: "transparent"
backgroundColorHovered: theme.lighterButtonBackgroundHoveredRed
}
}
}