fix(wallet)_: SendModel scrollbar overlaps with tokens

- Adjusted StatusListItem height to account for scrollbar visibility by adding 16 pixels to contentHeight when tags are visible.
- Set tagsScrollBarVisible to true in TokenListView to ensure the scrollbar is displayed as needed.

fixes: 13620
This commit is contained in:
belalshehab 2024-07-04 19:04:48 +03:00 committed by Mykhailo Prakhov
parent 1bc979290f
commit 63809d1c5b
3 changed files with 3 additions and 2 deletions

View File

@ -391,7 +391,7 @@ Rectangle {
anchors.top: statusListItemTertiaryTitle.bottom
anchors.topMargin: visible ? 2 : 0
width: Math.min(statusListItemTagsSlotInline.width, statusListItemTagsSlotInline.availableWidth, parent.width)
height: visible ? contentHeight : 0
height: visible ? contentHeight + 16 : 0
padding: 0
ScrollBar.horizontal.policy: root.tagsScrollBarVisible ? ScrollBar.AsNeeded : ScrollBar.AlwaysOff

View File

@ -219,6 +219,7 @@ Item {
id: tokenDelegate
TokenBalancePerChainDelegate {
width: tokenList.width
tagsScrollBarVisible: true
balancesModel: LeftJoinModel {
leftModel: !!model & !!model.balancesModel ? model.balancesModel : null

2
vendor/status-go vendored

@ -1 +1 @@
Subproject commit cb20c4c64ab5fcd4fe63baa8ebfecc874344b3d5
Subproject commit 451ac25df67a6a87261f3aa8c771bcf1680facc5