Skip to content

Commit

Permalink
fix: modify the margins
Browse files Browse the repository at this point in the history
当前外边距与设计不符

Issues: linuxdeepin/developer-center#8694
  • Loading branch information
zsien committed Jun 5, 2024
1 parent e9fbbdc commit b3ca868
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions qml/windowed/BottomBar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ Control {
property Item nextKeyTabTarget
property alias searchEdit: searchEdit

leftPadding: 5
rightPadding: 5
padding: 10

contentItem: RowLayout {
ToolButton {
Expand Down
11 changes: 5 additions & 6 deletions qml/windowed/WindowedFrame.qml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ Item {
id: sideBar
anchors.left: parent.left
anchors.top: parent.top
anchors.topMargin: anchors.leftMargin
anchors.bottom: parent.bottom
anchors.leftMargin: 5
anchors.topMargin: 10
anchors.leftMargin: 10
nextKeyTabTarget: bottomBar.keyTabTarget
}

Expand All @@ -78,7 +78,7 @@ Item {
anchors.left: sideBar.right
anchors.top: baseLayer.top
anchors.bottom: bottomBar.top
anchors.leftMargin: 5
anchors.leftMargin: 10

property Palette backgroundColor: Palette {
normal {
Expand All @@ -99,11 +99,11 @@ Item {
RowLayout {
id: appArea
anchors.left: sideBar.right
anchors.top: sideBar.top
anchors.top: parent.top
anchors.right: parent.right
anchors.bottom: bottomBar.top
anchors.topMargin: 10
anchors.leftMargin: 5
anchors.leftMargin: 10
spacing: 0
AppList {
id: appList
Expand Down Expand Up @@ -139,7 +139,6 @@ Item {

BottomBar {
id: bottomBar
height: 40
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
Expand Down

0 comments on commit b3ca868

Please sign in to comment.