Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions qt6/src/qml/Popup.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ T.Popup {

property bool closeOnInactive: true
readonly property bool active: parent && parent.Window.active
implicitWidth: DS.Style.control.implicitWidth(control)
implicitHeight: DS.Style.control.implicitHeight(control)

padding: DS.Style.popup.padding

Expand All @@ -28,7 +26,10 @@ T.Popup {

Component {
id: windowBlurComponent
D.StyledBehindWindowBlur { }
D.StyledBehindWindowBlur {
implicitWidth: DS.Style.popup.width

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implicitWidth: DS.Style.popup.width 这些放在Loader里是不是可以,

implicitHeight: DS.Style.popup.height
}
}

Component {
Expand Down
Loading