Open Firestar-Reimu opened 3 years ago
修复了!
非常感谢!顺便看一下这个issue
小尺寸的软件图标并没有制作,直接用的64px的图标缩放的
还有一点,考虑到汉字方块字的特性,斜体排版质量不佳,如果我想把“登陆失败”的字体改成Regular/Bold,应该去哪里改呢?
PS: 更改24h的方法:
/Fluent-kde-main/sddm/Fluent/components/Clock.qml
中Line 29
Label {
text: Qt.formatTime(timeSource.data["Local"]["DateTime"], "hh:mm:ss")
我自己也没搞太清楚,用的系统的主题修改的
Main.qml的第455行:
onLoginFailed: {
notificationMessage = i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Login Failed")
footer.enabled = true
mainStack.enabled = true
userListComponent.userList.opacity = 1
}
font.family: textFont.name
font.bold: true
453~462行
Connections {
target: sddm
onLoginFailed: {
notificationMessage = i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Login Failed")
font.family: textFont.name
font.bold: true
footer.enabled = true
mainStack.enabled = true
userListComponent.userList.opacity = 1
}
报错:457行24列:expect token:','(就是font.family:的冒号那里)
不知道具体的语法格式究竟是什么样子的,能否把上面那条comment改成完整的代码或者提交一个commit?(顺便把195行的“Caps Lock”的斜体也关了)
font.family: 你需要添加一个真实字体的名字
font.family: 你需要添加一个真实字体的名字
试过了,不行,还是说缺逗号,但是官方文档(https://doc.qt.io/qt-5.12/qtquick-text-fonts-fonts-qml.html
)里面也不需要逗号啊
2736*1824 屏幕,需要200%分辨率
导致密码的星号“*”和光标的高度超出了框