fix(@desktop/browser): Fix for Favorites bar is not shown without disabling and enabling toggle
Also fixed issue of overlap after a switch between disbaled to enabled state fixes #4105
This commit is contained in:
parent
defefa1bfe
commit
da28629ffc
|
@ -31,7 +31,7 @@ Rectangle {
|
|||
signal addNewFavoritelClicked(var xPos)
|
||||
|
||||
width: parent.width
|
||||
height: barRow.height + favoritesBarLoader.height
|
||||
height: barRow.height + (favoritesBarLoader.active ? favoritesBarLoader.height : 0)
|
||||
color: Style.current.background
|
||||
border.width: 0
|
||||
|
||||
|
@ -270,7 +270,6 @@ Rectangle {
|
|||
Loader {
|
||||
id: favoritesBarLoader
|
||||
active: localAccountSensitiveSettings.shouldShowFavoritesBar
|
||||
height: active ? item.height : 0
|
||||
anchors.top: barRow.bottom
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: Style.current.smallPadding
|
||||
|
|
|
@ -11,7 +11,7 @@ RowLayout {
|
|||
property alias bookmarkModel: bookmarkList.model
|
||||
|
||||
spacing: 0
|
||||
height: bookmarkModel.rowCount() > 0 ? 38: 0
|
||||
height: 38
|
||||
|
||||
ListView {
|
||||
id: bookmarkList
|
||||
|
|
Loading…
Reference in New Issue