Skip to content

Commit f8861e7

Browse files
deepin-ci-robot18202781743
authored andcommitted
sync: from linuxdeepin/dtkdeclarative
Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: linuxdeepin/dtkdeclarative#453
1 parent e46459b commit f8861e7

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

qt6/src/qml/Menu.qml

+5-7
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,11 @@ T.Menu {
4343
blurControl: control
4444
}
4545

46-
contentItem: Control {
47-
topPadding: 0
48-
bottomPadding: topPadding
49-
leftPadding: 0
50-
rightPadding: leftPadding
51-
52-
contentItem: ColumnLayout {
46+
contentItem: FocusScope {
47+
// QTBUG-99897 focus doesn't be clear.
48+
width: viewLayout.width
49+
height: viewLayout.height
50+
ColumnLayout {
5351
id: viewLayout
5452
spacing: 0
5553

src/icons/bloom/item_checked.dci

-7.88 KB
Binary file not shown.

src/icons/bloom/item_unchecked.dci

-3.01 KB
Binary file not shown.

0 commit comments

Comments
 (0)