mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-17 00:56:39 +00:00
refactor(Browser/FavoritesBar): use StatusQ StatusModal and StatusButton
This commit is contained in:
parent
48bb73be3a
commit
ecec858594
@ -1,10 +1,10 @@
|
||||
import QtQuick 2.13
|
||||
import QtQuick.Layouts 1.13
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/status"
|
||||
|
||||
import utils 1.0
|
||||
|
||||
import StatusQ.Controls 0.1
|
||||
|
||||
RowLayout {
|
||||
id: favoritesBar
|
||||
|
||||
@ -22,16 +22,13 @@ RowLayout {
|
||||
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
|
||||
width: parent.width
|
||||
boundsBehavior: Flickable.StopAtBounds
|
||||
delegate: StatusButton {
|
||||
delegate: StatusFlatButton {
|
||||
id: favoriteBtn
|
||||
height: 32
|
||||
icon.source: imageUrl
|
||||
disableColorOverlay: true
|
||||
icon.width: 24
|
||||
icon.height: 24
|
||||
text: name
|
||||
implicitHeight: 32
|
||||
type: "secondary"
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
|
Loading…
x
Reference in New Issue
Block a user