-
Notifications
You must be signed in to change notification settings - Fork 37.8k
Qt: Add vertical spacer to peer detail widget #16090
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Concept ACK: looks much better! @JosuGZ, welcome as a contributor! Hope to see more contributions from you! :-) |
Thanks! I have no clue about why that |
@joshrabinowitz That is just a random unrelated failure :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 36b0a2f (tested with Qt 5.11.3 under Linux/Xfce4)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested ACK 36b0a2f on macos 10.14.3. Resizing the window works as expected.
<property name="orientation"> | ||
<enum>Qt::Vertical</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Property could be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems indeed unneeded, I think it is how Qt creator creates spacers though. Change pushed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I'm noticing other spacers have the property set, like the one in the information tab on the same file.
@fanquake I'm on a macos and it also stretches the details (macos 10.14.3, Qt 5.12.2). |
@fanquake , I have the "before" behaviour also on Linux/Xfce4, Qt 5.11.3. |
@promag @kristapsk @JosuGZ Thanks for clarifying. |
tACK 36b0a2f on Linux Mint 19.1, Qt 5.9.5 The different behavior (some can see 'before', others not) can be caused by QGridLayout::setRowStretch:
|
@hebasto I have left the property for coherency with the rest of the file and with Qt Creator. |
re-utACK 36b0a2f Could have used a commit message like |
True. Shouldn't appear in the the merge commit anyway? |
36b0a2f Add vertical spacer (Josu Goñi) Pull request description: Before:  After:  ACKs for commit 36b0a2: fanquake: utACK 36b0a2f hebasto: tACK 36b0a2f on Linux Mint 19.1, Qt 5.9.5 fanquake: re-utACK 36b0a2f kristapsk: ACK 36b0a2f (tested with Qt 5.11.3 under Linux/Xfce4) promag: Tested ACK 36b0a2f on macos 10.14.3. Resizing the window works as expected. Tree-SHA512: 26ec9700aa9116ec2c604f8ec7b825b30c83c1d497c21f2191d3585868db4a2e3921de607dea9f7cd9a1ea49361215d738e2aba1936566d85757d87112d73088
36b0a2f Add vertical spacer (Josu Goñi) Pull request description: Before:  After:  ACKs for commit 36b0a2: fanquake: utACK bitcoin@36b0a2f hebasto: tACK 36b0a2f on Linux Mint 19.1, Qt 5.9.5 fanquake: re-utACK bitcoin@36b0a2f kristapsk: ACK 36b0a2f (tested with Qt 5.11.3 under Linux/Xfce4) promag: Tested ACK bitcoin@36b0a2f on macos 10.14.3. Resizing the window works as expected. Tree-SHA512: 26ec9700aa9116ec2c604f8ec7b825b30c83c1d497c21f2191d3585868db4a2e3921de607dea9f7cd9a1ea49361215d738e2aba1936566d85757d87112d73088
Github-Pull: bitcoin#16090 Rebased-From: 36b0a2f
Github-Pull: bitcoin#16090 Rebased-From: 36b0a2f
Github-Pull: bitcoin#16090 Rebased-From: 36b0a2f
Github-Pull: bitcoin#16090 Rebased-From: 36b0a2f
0b18ea6 util: Filter control characters out of log messages (Wladimir J. van der Laan) ac30fc4 build: Factor out qt translations from build system (Wladimir J. van der Laan) 3b8af5f build: update boost macros to latest upstream (fanquake) b12defc Test that joinpsbts randomly shuffles the inputs (Andrew Chow) eb07d22 Shuffle inputs and outputs after joining psbts (Andrew Chow) 1175410 addrdb: Remove temporary files created in SerializeFileDB. Fixes non-determinism in unit tests. (practicalswift) c52dd12 Handle the result of posix_fallocate system call (Luca Venturini) f792b25 torcontrol: Use the default/standard network port for Tor hidden services, even if the internal port is set differently (Luke Dashjr) 9fe8d28 Bugfix: QA: Run tests with UPnP disabled (Luke Dashjr) 1d12e52 Add vertical spacer (Josu Goñi) d764141 depends: add patch to common dependencies (fanquake) 56815e9 Give QApplication dummy arguments (Andrew Chow) 9d389d0 util: No translation of `Bitcoin Core` in the copyright (MarcoFalke) 87908e9 scripted-diff: Avoid passing PACKAGE_NAME for translation (MarcoFalke) a44e18f build: Stop translating PACKAGE_NAME (MarcoFalke) 7bd8f4e rpc: Fix getblocktemplate CLI example (#16594) (Emil Engler) 1cc06a1 doc: Fix typos in COPYRIGHT (Chuf) Pull request description: Backports some commits to the `0.18` branch: * #16596 - rpc: Fix getblocktemplate CLI example * #16615 - doc: Fix typos in COPYRIGHT * #16291 - gui: Stop translating PACKAGE_NAME (without the `make translate` commit) * #16578 - Do not pass in command line arguments to QApplication * #16051 - depends: add patch to common dependencies * #16090 - Add vertical spacer * #15651 - torcontrol: Use the default/standard network port for Tor hidden services, even if the internal port is set differently * #15650 - Handle the result of posix_fallocate system call * #16646 - Bugfix: QA: Run tests with UPnP disabled * #16212 - addrdb: Remove temporary files created in SerializeFileDB. Fixes non-determinism in unit tests. * #16512 - rpc: Shuffle inputs and outputs after joining psbts * #16870 - build: update boost macros to latest upstream for improved error reporting * #16982 - build: Factor out qt translations from build system * #17095 - util: Filter control characters out of log messages ACKs for top commit: laanwj: ACK 0b18ea6 Tree-SHA512: 37f0e5afc20975f4d1506e8662eda2ae0125f2f424a852818b5af2c3b8db78fc1c365b83571aa80ca63c885ca314302190b891a50ff3851fda9b9238455a5627
Summary: 36b0a2f2a6b49008c4f37866a9e3ab702eb34eda Add vertical spacer (Josu Goñi) Pull request description: Before:  After:  --- Backport of Core [[bitcoin/bitcoin#16090 | PR16090]] Test Plan: ninja all bitcoin-qt -testnet Check out how nicer it looks Reviewers: #bitcoin_abc, deadalnix Reviewed By: #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D8664
36b0a2f Add vertical spacer (Josu Goñi) Pull request description: Before:  After:  ACKs for commit 36b0a2: fanquake: utACK bitcoin@36b0a2f hebasto: tACK 36b0a2f on Linux Mint 19.1, Qt 5.9.5 fanquake: re-utACK bitcoin@36b0a2f kristapsk: ACK 36b0a2f (tested with Qt 5.11.3 under Linux/Xfce4) promag: Tested ACK bitcoin@36b0a2f on macos 10.14.3. Resizing the window works as expected. Tree-SHA512: 26ec9700aa9116ec2c604f8ec7b825b30c83c1d497c21f2191d3585868db4a2e3921de607dea9f7cd9a1ea49361215d738e2aba1936566d85757d87112d73088
36b0a2f Add vertical spacer (Josu Goñi) Pull request description: Before:  After:  ACKs for commit 36b0a2: fanquake: utACK bitcoin@36b0a2f hebasto: tACK 36b0a2f on Linux Mint 19.1, Qt 5.9.5 fanquake: re-utACK bitcoin@36b0a2f kristapsk: ACK 36b0a2f (tested with Qt 5.11.3 under Linux/Xfce4) promag: Tested ACK bitcoin@36b0a2f on macos 10.14.3. Resizing the window works as expected. Tree-SHA512: 26ec9700aa9116ec2c604f8ec7b825b30c83c1d497c21f2191d3585868db4a2e3921de607dea9f7cd9a1ea49361215d738e2aba1936566d85757d87112d73088
36b0a2f Add vertical spacer (Josu Goñi) Pull request description: Before:  After:  ACKs for commit 36b0a2: fanquake: utACK bitcoin@36b0a2f hebasto: tACK 36b0a2f on Linux Mint 19.1, Qt 5.9.5 fanquake: re-utACK bitcoin@36b0a2f kristapsk: ACK 36b0a2f (tested with Qt 5.11.3 under Linux/Xfce4) promag: Tested ACK bitcoin@36b0a2f on macos 10.14.3. Resizing the window works as expected. Tree-SHA512: 26ec9700aa9116ec2c604f8ec7b825b30c83c1d497c21f2191d3585868db4a2e3921de607dea9f7cd9a1ea49361215d738e2aba1936566d85757d87112d73088
36b0a2f Add vertical spacer (Josu Goñi) Pull request description: Before:  After:  ACKs for commit 36b0a2: fanquake: utACK bitcoin@36b0a2f hebasto: tACK 36b0a2f on Linux Mint 19.1, Qt 5.9.5 fanquake: re-utACK bitcoin@36b0a2f kristapsk: ACK 36b0a2f (tested with Qt 5.11.3 under Linux/Xfce4) promag: Tested ACK bitcoin@36b0a2f on macos 10.14.3. Resizing the window works as expected. Tree-SHA512: 26ec9700aa9116ec2c604f8ec7b825b30c83c1d497c21f2191d3585868db4a2e3921de607dea9f7cd9a1ea49361215d738e2aba1936566d85757d87112d73088
36b0a2f Add vertical spacer (Josu Goñi) Pull request description: Before:  After:  ACKs for commit 36b0a2: fanquake: utACK bitcoin@36b0a2f hebasto: tACK 36b0a2f on Linux Mint 19.1, Qt 5.9.5 fanquake: re-utACK bitcoin@36b0a2f kristapsk: ACK 36b0a2f (tested with Qt 5.11.3 under Linux/Xfce4) promag: Tested ACK bitcoin@36b0a2f on macos 10.14.3. Resizing the window works as expected. Tree-SHA512: 26ec9700aa9116ec2c604f8ec7b825b30c83c1d497c21f2191d3585868db4a2e3921de607dea9f7cd9a1ea49361215d738e2aba1936566d85757d87112d73088
36b0a2f Add vertical spacer (Josu Goñi) Pull request description: Before:  After:  ACKs for commit 36b0a2: fanquake: utACK bitcoin@36b0a2f hebasto: tACK 36b0a2f on Linux Mint 19.1, Qt 5.9.5 fanquake: re-utACK bitcoin@36b0a2f kristapsk: ACK 36b0a2f (tested with Qt 5.11.3 under Linux/Xfce4) promag: Tested ACK bitcoin@36b0a2f on macos 10.14.3. Resizing the window works as expected. Tree-SHA512: 26ec9700aa9116ec2c604f8ec7b825b30c83c1d497c21f2191d3585868db4a2e3921de607dea9f7cd9a1ea49361215d738e2aba1936566d85757d87112d73088
Before:
After: