Before:

After:

Before:

After:

Concept ACK: looks much better! @JosuGZ, welcome as a contributor! Hope to see more contributions from you! :-)
@joshrabinowitz That is just a random unrelated failure :-)
ACK 36b0a2f2a6b49008c4f37866a9e3ab702eb34eda (tested with Qt 5.11.3 under Linux/Xfce4)
1479 | @@ -1480,6 +1480,19 @@ 1480 | </property> 1481 | </widget> 1482 | </item> 1483 | + <item row="18" column="0"> 1484 | + <spacer name="verticalSpacer_3"> 1485 | + <property name="orientation"> 1486 | + <enum>Qt::Vertical</enum> 1487 | + </property> 1488 | + <property name="sizeHint" stdset="0">
Property could be removed.
It seems indeed unneeded, I think it is how Qt creator creates spacers though. Change pushed.
Hmm, I'm noticing other spacers have the property set, like the one in the information tab on the same file.
Tested ACK https://github.com/bitcoin/bitcoin/pull/16090/commits/36b0a2f2a6b49008c4f37866a9e3ab702eb34eda on macos 10.14.3. Resizing the window works as expected.
utACK https://github.com/bitcoin/bitcoin/pull/16090/commits/36b0a2f2a6b49008c4f37866a9e3ab702eb34eda
This change doesn't seem to make any difference on macOS (10.14.x), as the before behavior isn't present.
@JosuGZ What OS are you seeing this issue on?
@promag @kristapsk @JosuGZ Thanks for clarifying.
tACK 36b0a2f2a6b49008c4f37866a9e3ab702eb34eda on Linux Mint 19.1, Qt 5.9.5 Could you squash your commits?
The different behavior (some can see 'before', others not) can be caused by QGridLayout::setRowStretch:
If the stretch factor is 0 and no other row in this table can grow at all, the row may still grow.
re-utACK https://github.com/bitcoin/bitcoin/commit/36b0a2f2a6b49008c4f37866a9e3ab702eb34eda
Could have used a commit message like gui: add vertical spacer to peers window.
True. Shouldn't appear in the the merge commit anyway?