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 {
text: modelData[1]
font.family: config.Font
font.pointSize: root.font.pointSize * 4
font.pointSize: root.font.pointSize * 1
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
visible: config.ForceHideSystemButtons != "true" && modelData[2]
hoverEnabled: true

View file

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