button patch

This commit is contained in:
WanderingPenwing 2024-08-01 02:44:48 +02:00
parent e0a3d1b57a
commit e61bcac22b
2 changed files with 5 additions and 8 deletions

View file

@ -45,11 +45,8 @@ RowLayout {
RoundButton { RoundButton {
text: modelData[1] text: modelData[1]
font.family: config.Font font.family: config.Font
font.pointSize: root.font.pointSize * 4 font.pointSize: root.font.pointSize * 1
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
// icon.source: modelData ? Qt.resolvedUrl("../Assets/" + modelData[0] + ".svgz") : ""
// icon.height: 2 * Math.round((root.font.pointSize * 3) / 2)
// icon.width: 2 * Math.round((root.font.pointSize * 3) / 2)
display: AbstractButton.TextUnderIcon display: AbstractButton.TextUnderIcon
visible: config.ForceHideSystemButtons != "true" && modelData[2] visible: config.ForceHideSystemButtons != "true" && modelData[2]
hoverEnabled: true hoverEnabled: true

View file

@ -128,9 +128,9 @@ TranslateLogin=""
TranslateLoginFailedWarning="" TranslateLoginFailedWarning=""
TranslateCapslockWarning="" TranslateCapslockWarning=""
TranslateSession="" TranslateSession=""
TranslateSuspend="" TranslateSuspend=""
TranslateHibernate="" TranslateHibernate=""
TranslateReboot="" TranslateReboot=""
TranslateShutdown="" TranslateShutdown=""
TranslateVirtualKeyboardButton="" TranslateVirtualKeyboardButton=""
## These don't necessarily need to translate anything. You can enter whatever you want here. ## These don't necessarily need to translate anything. You can enter whatever you want here.