Skip to content

Conversation

@goqusan
Copy link
Contributor

@goqusan goqusan commented Jun 1, 2025

  • avoid anchors, use layouts
  • override contentItem
  • avoid nested stack view

@goqusan goqusan changed the title Layouts Fix layouts 1/n Jun 1, 2025
initialItem: Page {
id: root
background: null
initialItem: RowLayout {
Copy link
Collaborator

@johnny9 johnny9 Jun 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't Page be the initial item? What is RowLayout doing with only one child?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to set these layout properties in the page child

            Layout.alignment: Qt.AlignCenter
            Layout.fillHeight: true
            Layout.fillWidth: true
            Layout.maximumWidth: 600
            Layout.margins: 20

Copy link
Collaborator

@johnny9 johnny9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 095967e

@hebasto hebasto merged commit 25a18f0 into bitcoin-core:main Jun 3, 2025
9 checks passed
johnny9 pushed a commit to johnny9/bitcoin-core-app that referenced this pull request Jul 4, 2025
30ea70e qml: Remove inner stack view from about settings (goqusan)
91dc9d9 qml: Remove anchors from node settings (goqusan)
98338ef qml: Fix layout in activity view (goqusan)
aca5df9 qml: Use content item on desktop wallets (goqusan)

Pull request description:

  - avoid anchors, use layouts
  - override contentItem
  - avoid nested stack view

ACKs for top commit:
  johnny9:
    ACK 30ea70e

Tree-SHA512: 0093bad621dc989fe1825907e20b7e3c45c265cac9245827153e3ab4f4593c6c4dc50993f5c5cf15f7b3a78e0798b4529e0500b9cd881a5bf0fa222ab855d237
tx-signer450 added a commit to tx-signer450/gui-qml that referenced this pull request Oct 20, 2025
30ea70e718e7c153d31b31346aa084e9cfd1ec40 qml: Remove inner stack view from about settings (goqusan)
91dc9d988fc0fca3bbb8cb8521081bc1cdc99dd1 qml: Remove anchors from node settings (goqusan)
98338efef61ac40c8713ce792b16ea31ae4fb0a9 qml: Fix layout in activity view (goqusan)
aca5df9fc888e3ef71e452f3473f770c3359f386 qml: Use content item on desktop wallets (goqusan)

Pull request description:

  - avoid anchors, use layouts
  - override contentItem
  - avoid nested stack view

ACKs for top commit:
  johnny9:
    ACK 30ea70e718e7c153d31b31346aa084e9cfd1ec40

Tree-SHA512: 0093bad621dc989fe1825907e20b7e3c45c265cac9245827153e3ab4f4593c6c4dc50993f5c5cf15f7b3a78e0798b4529e0500b9cd881a5bf0fa222ab855d237
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants