Skip to content

Commit

Permalink
Try to fix margins.
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsenD98 committed Jan 11, 2025
1 parent 753b877 commit ed8467a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
1 change: 1 addition & 0 deletions src/qml/DashBoard.qml
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ Drawer {
height: 48
width: parent.width
anchors.bottom: parent.bottom
anchors.bottomMargin: mainWindow.sceneBottomMargin
color: Theme.darkTheme ? Theme.mainBackgroundColorSemiOpaque : Theme.lightestGray

MenuItem {
Expand Down
23 changes: 9 additions & 14 deletions src/qml/WelcomeScreen.qml
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ Page {
anchors {
top: parent.top
left: parent.left
margins: mainWindow.sceneTopMargin + 4
margins: mainWindow.sceneTopMargin
}

QfActionButton {
Expand All @@ -803,20 +803,15 @@ Page {
}
}

Rectangle {
width: 48
height: 48
color: Theme.toolButtonBackgroundColor
radius: height / 2
QfToolButton {
id: settingsButton
iconSource: Theme.getThemeVectorIcon('ic_tune_24dp')
iconColor: Theme.toolButtonColor
bgcolor: Theme.toolButtonBackgroundColor
round: true

QfToolButton {
id: settingsButton
iconSource: Theme.getThemeVectorIcon('ic_tune_24dp')
iconColor: Theme.toolButtonColor

onClicked: {
showSettings();
}
onClicked: {
showSettings();
}
}
}
Expand Down

0 comments on commit ed8467a

Please sign in to comment.