Remove extra ColumnLayouts#210
Conversation
| property alias navMiddleDetail: navbar.middleDetail | ||
| property alias navRightDetail: navbar.rightDetail | ||
| background: null | ||
| implicitWidth: 490 |
There was a problem hiding this comment.
This is required due to an oddity with the StackView initial state. It will be ignored with the anchor properties.
| Layout.alignment: Qt.AlignCenter | ||
| } | ||
| detailItem: StorageLocations { | ||
| width: Math.min(parent.width, 450) |
There was a problem hiding this comment.
there's an intricate issue with this where this will start off fine being a maximum of 450 px width, but if you resize the window to be a smaller width, then resize to be larger, the width of the storage location OptionButtons will become larger than 450px. I assume this would be rare to run into, but the code has an issue (albeit rare) that isn't present with the code on master:

OnboardingStorageAmount.qml is immune to this because it keeps the nested ColumnLayout method since it is actually appropriate there.
There was a problem hiding this comment.
Yeah i need to rework this. I was thinking about these pieces wrong. There is a conflict with the InformationPage column widths.
0e2e651 to
f9f46e7
Compare
| width: Math.min(parent.width, 490) | ||
| anchors.leftMargin: 20 | ||
| anchors.rightMargin: 20 | ||
| anchors.topMargin: 30 |
There was a problem hiding this comment.
And the PR NodeSettings isn't max 450 here
There was a problem hiding this comment.
Great catch. I now see Page has its own padding property and is ignoring my anchor values. https://doc.qt.io/qt-6/qml-qtquick-controls2-control.html#padding-prop.
There was a problem hiding this comment.
those padding values apply to just the "contentItem" for Pages
There was a problem hiding this comment.
Ill go through a side-by-side with master as well, just need to setup a second view to compile from
f9f46e7 to
4dc32c4
Compare
Github-Pull: bitcoin-core#210 Rebased-From: 4dc32c4
Github-Pull: bitcoin-core#210 Rebased-From: 4dc32c4
Github-Pull: bitcoin-core#210 Rebased-From: 4dc32c4
4e46cfe qml: remove extra ColumnLayouts (Johnny Carlson) Pull request description: Follow up to #203 [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/210) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/210) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/insecure_mac_arm64_gui.zip?branch=pull/210) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/210) ACKs for top commit: jarolrod: tACK 4e46cfe Tree-SHA512: 7c03eb2ffce728d3b353aca05806b239f838b4a81f4ec9c5429cb48e0ce1591596c64ca1c253f788cdb3ada3052d92f992d26539afd2458636f884fa750b7e0e
4e46cfe0c55d540006703dc439bedccb2830e9ea qml: remove extra ColumnLayouts (Johnny Carlson) Pull request description: Follow up to #203 [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/210) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/210) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/insecure_mac_arm64_gui.zip?branch=pull/210) [](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/210) ACKs for top commit: jarolrod: tACK 4e46cfe0c55d540006703dc439bedccb2830e9ea Tree-SHA512: 7c03eb2ffce728d3b353aca05806b239f838b4a81f4ec9c5429cb48e0ce1591596c64ca1c253f788cdb3ada3052d92f992d26539afd2458636f884fa750b7e0e














Follow up to #203