chore(CollectiblesView): Storybook's page layout fixed

This commit is contained in:
Michał Cieślak 2024-01-24 12:06:44 +00:00 committed by Michał
parent 654da3e246
commit 1a5a908a11
1 changed files with 12 additions and 11 deletions

View File

@ -58,8 +58,10 @@ SplitView {
CollectiblesView { CollectiblesView {
id: assetsView id: assetsView
SplitView.preferredWidth: 600
SplitView.fillWidth: true
SplitView.fillHeight: true SplitView.fillHeight: true
collectiblesModel: collectiblesModel collectiblesModel: collectiblesModel
networkFilters: d.networksChainsCurrentlySelected networkFilters: d.networksChainsCurrentlySelected
addressFilters: d.addressesSelected addressFilters: d.addressesSelected
@ -71,10 +73,14 @@ SplitView {
onManageTokensRequested: logs.logEvent("onManageTokensRequested") onManageTokensRequested: logs.logEvent("onManageTokensRequested")
} }
Pane { LogsAndControlsPanel {
id: logsAndControlsPanel
SplitView.minimumWidth: 300 SplitView.minimumWidth: 300
SplitView.preferredWidth: 300 SplitView.preferredWidth: 300
logsView.logText: logs.logText
ColumnLayout { ColumnLayout {
spacing: 12 spacing: 12
anchors.fill: parent anchors.fill: parent
@ -139,17 +145,12 @@ SplitView {
} }
} }
} }
Item {
Layout.fillHeight: true
}
} }
} }
LogsAndControlsPanel {
id: logsAndControlsPanel
SplitView.minimumWidth: 150
SplitView.preferredWidth: 250
logsView.logText: logs.logText
}
} }
// category: Views // category: Views