vinceliuice / Fluent-kde

Fluent design theme for kde plasma
GNU General Public License v3.0
166 stars 12 forks source link

SDDM分辨率缩放时,输入密码的框高度没有变化 #6

Open Firestar-Reimu opened 3 years ago

Firestar-Reimu commented 3 years ago

2736*1824 屏幕,需要200%分辨率

导致密码的星号“*”和光标的高度超出了框

vinceliuice commented 3 years ago

修复了!

Firestar-Reimu commented 3 years ago

非常感谢!顺便看一下这个issue

https://github.com/vinceliuice/McMojave-circle/issues/58

vinceliuice commented 3 years ago

小尺寸的软件图标并没有制作,直接用的64px的图标缩放的

Firestar-Reimu commented 3 years ago

还有一点,考虑到汉字方块字的特性,斜体排版质量不佳,如果我想把“登陆失败”的字体改成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")
vinceliuice commented 3 years ago

我自己也没搞太清楚,用的系统的主题修改的

Firestar-Reimu commented 3 years ago

Main.qml的第455行:

onLoginFailed: {
            notificationMessage = i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Login Failed")
            footer.enabled = true
            mainStack.enabled = true
            userListComponent.userList.opacity = 1
        }
vinceliuice commented 3 years ago
                    font.family: textFont.name
                    font.bold: true
Firestar-Reimu commented 3 years ago

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”的斜体也关了)

vinceliuice commented 3 years ago

font.family: 你需要添加一个真实字体的名字

Firestar-Reimu commented 3 years ago

font.family: 你需要添加一个真实字体的名字

试过了,不行,还是说缺逗号,但是官方文档(https://doc.qt.io/qt-5.12/qtquick-text-fonts-fonts-qml.html)里面也不需要逗号啊