qml: new object names for token selector panel

This commit is contained in:
Anastasiya Semenkevich 2024-09-03 17:29:22 +03:00 committed by Anastasiya
parent 94c62dae26
commit 9598e9a44c
3 changed files with 13 additions and 0 deletions

View File

@ -444,6 +444,9 @@ Item {
StatusBaseInput {
id: statusBaseInput
objectName: "statusBaseInput"
implicitWidth: parent.width
implicitHeight: internal.inputHeight
Layout.alignment: Qt.AlignTop

View File

@ -139,6 +139,8 @@ Control {
contentItem: TokenSelectorPanel {
id: tokenSelectorPanel
objectName: "tokenSelectorPanel"
function findSubitem(key) {
const count = collectiblesModel.rowCount()

View File

@ -119,6 +119,8 @@ Control {
StatusTabBar {
id: tabBar
objectName: "tokensTabBar"
visible: !!root.assetsModel && !!root.collectiblesModel
currentIndex: !!root.assetsModel
@ -126,6 +128,9 @@ Control {
: TokenSelectorPanel.Tabs.Collectibles
StatusTabButton {
objectName: "assetsTab"
text: qsTr("Assets")
width: implicitWidth
@ -133,6 +138,9 @@ Control {
}
StatusTabButton {
objectName: "collectiblesTab"
text: qsTr("Collectibles")
width: implicitWidth