fix(@desktop/browser): Website URL overlaps with reload and add favourite buttons

fixes #4214
This commit is contained in:
Khushboo Mehta 2021-12-03 14:43:17 +01:00 committed by Khushboo-dev-cpp
parent 16be2fff7a
commit b1746d6d8e
1 changed files with 8 additions and 7 deletions

View File

@ -63,8 +63,8 @@ Rectangle {
StatusQControls.StatusFlatRoundButton { StatusQControls.StatusFlatRoundButton {
id: backButton id: backButton
width: 32 Layout.preferredWidth: 32
height: 32 Layout.preferredHeight: 32
icon.height: 20 icon.height: 20
icon.width: 20 icon.width: 20
icon.name: "left" icon.name: "left"
@ -82,8 +82,8 @@ Rectangle {
StatusQControls.StatusFlatRoundButton { StatusQControls.StatusFlatRoundButton {
id: forwardButton id: forwardButton
width: 32 Layout.preferredWidth: 32
height: 32 Layout.preferredHeight: 32
icon.width: 20 icon.width: 20
icon.height: 20 icon.height: 20
icon.name: "right" icon.name: "right"
@ -101,7 +101,7 @@ Rectangle {
StyledTextField { StyledTextField {
id: addressBar id: addressBar
height: 40 Layout.preferredHeight: 40
Layout.fillWidth: true Layout.fillWidth: true
background: Rectangle { background: Rectangle {
color: Style.current.inputBackground color: Style.current.inputBackground
@ -110,6 +110,7 @@ Rectangle {
radius: 20 radius: 20
} }
leftPadding: Style.current.padding leftPadding: Style.current.padding
rightPadding: addFavoriteBtn.width + reloadBtn.width + Style.current.bigPadding
//% "Enter URL" //% "Enter URL"
placeholderText: qsTrId("enter-url") placeholderText: qsTrId("enter-url")
focus: true focus: true
@ -250,8 +251,8 @@ Rectangle {
StatusQControls.StatusFlatRoundButton { StatusQControls.StatusFlatRoundButton {
id: settingsMenuButton id: settingsMenuButton
implicitHeight: 32 Layout.preferredHeight: 32
implicitWidth: 32 Layout.preferredWidth: 32
icon.width: 24 icon.width: 24
icon.height: 24 icon.height: 24
icon.name: "more" icon.name: "more"