Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dtkdeclarative: 焦点位于 ActionButton 时,缺少 Focus 样式效果 #145

Open
BLumia opened this issue Oct 25, 2023 · 0 comments
Open

Comments

@BLumia
Copy link
Member

BLumia commented Oct 25, 2023

SUMMARY | 问题概要

dtkdeclarative: 焦点位于 ActionButton 时,缺少 Focus 样式效果

import QtQuick 2.15
import QtQuick.Controls 2.15 as QQC2
import org.deepin.dtk 1.0

ApplicationWindow {
        id: window
        title: Qt.platform.pluginName + btn.activeFocus
        width: 200
        height: 100
        visible: true

    ActionButton {
        id: 'btn'
        anchors.centerIn: parent
        icon.name: "search"
    }
}

DTK VERSIONS | DTK版本信息

dtkdeclarative master 分支最新版本(当前:9efe9db

OBSERVED RESULT | 观察到的效果

具有 focus 时,ActionButton 的按钮外观和无 focus 无差异。

EXPECTED RESULT | 期望的设计效果

具有 focus 时,应当具备和其它按钮近似的 focus 效果以体现焦点位置。

ADDITIONAL INFORMATION | 额外补充

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant