Fix quote in "supprimer l'historique" text
Cosmetics on the button
This commit is contained in:
parent
16879379b9
commit
2bd5c8a161
1 changed files with 13 additions and 26 deletions
|
|
@ -150,35 +150,22 @@ AbstractMainPage {
|
||||||
height: 24 * DefaultStyle.dp
|
height: 24 * DefaultStyle.dp
|
||||||
focus: true
|
focus: true
|
||||||
popup.x: 0
|
popup.x: 0
|
||||||
popup.padding: 10 * DefaultStyle.dp
|
popup.padding: 20 * DefaultStyle.dp
|
||||||
KeyNavigation.right: newCallButton
|
KeyNavigation.right: newCallButton
|
||||||
KeyNavigation.down: listStackView
|
KeyNavigation.down: listStackView
|
||||||
popup.contentItem: Button {
|
popup.contentItem: ColumnLayout {
|
||||||
color: removeHistory.popupBackgroundColor
|
IconLabelButton {
|
||||||
borderColor: removeHistory.popupBackgroundColor
|
Layout.preferredHeight: 24 * DefaultStyle.dp
|
||||||
inversedColors: true
|
Layout.fillWidth: true
|
||||||
contentItem: RowLayout {
|
focus: visible
|
||||||
EffectImage {
|
iconSize: 24 * DefaultStyle.dp
|
||||||
imageSource: AppIcons.trashCan
|
text: qsTr("Supprimer l'historique")
|
||||||
width: 24 * DefaultStyle.dp
|
iconSource: AppIcons.trashCan
|
||||||
height: 24 * DefaultStyle.dp
|
color: DefaultStyle.danger_500main
|
||||||
Layout.preferredWidth: 24 * DefaultStyle.dp
|
onClicked: {
|
||||||
Layout.preferredHeight: 24 * DefaultStyle.dp
|
removeHistory.close()
|
||||||
fillMode: Image.PreserveAspectFit
|
deleteHistoryPopup.open()
|
||||||
colorizationColor: DefaultStyle.danger_500main
|
|
||||||
}
|
}
|
||||||
Text {
|
|
||||||
text: qsTr("Supprimer l’historique")
|
|
||||||
color: DefaultStyle.danger_500main
|
|
||||||
font {
|
|
||||||
pixelSize: 14 * DefaultStyle.dp
|
|
||||||
weight: 400 * DefaultStyle.dp
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
onClicked: {
|
|
||||||
removeHistory.close()
|
|
||||||
deleteHistoryPopup.open()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Connections {
|
Connections {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue