Skip to content

Commit d06cf34

Browse files
author
MarcoFalke
committed
Merge bitcoin-core#6: Do not truncate node flag strings in debugwindow peers details tab
0ac09c9 qt: Do not truncate node flag strings in debugwindow.ui peers details tab. (saibato) Pull request description: Fix: When fiddling around with new node flags other than the usual. I saw that not all possible node flag strings i.e. the UNKNOWN[..] where visible in peers details tab. Since v18.2 fixed size was set to 300 and sliding is thereby limited. A fix on my old linux cruft and small screen was to set minimumSize width to -1 or 0. Qt will then autosize the slider to the max string length. Thereby i had full display of all flags inclusive sliding without to fullscreen the window. Not sure if this is even an issue for those who can afford big screens or high res macs? Feedback welcome. BTW: nice side effect now again easy to scroll trough long version names of the node. can't wait to see strings like /Satoshi:0.23.99/NOX2NOX4NOX32 or what ever fits in the version string. ACKs for top commit: hebasto: ACK 0ac09c9, tested on Linux Mint 20 (x86_64, Qt 5.12.8). promag: Tested ACK 0ac09c9 on macos. Tree-SHA512: a1601b5e35f10b1fd9407b28142ca00c1b985a822be5d23be4d7d3376211450f06e17f962c44b8b40977f8f8bbbb701cac1c5abb4afb3618da76385dfac848a3
2 parents 4946400 + 0ac09c9 commit d06cf34

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/qt/forms/debugwindow.ui

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,12 +1078,6 @@
10781078
<height>426</height>
10791079
</rect>
10801080
</property>
1081-
<property name="minimumSize">
1082-
<size>
1083-
<width>300</width>
1084-
<height>0</height>
1085-
</size>
1086-
</property>
10871081
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1">
10881082
<item row="0" column="0">
10891083
<widget class="QLabel" name="label_30">

0 commit comments

Comments
 (0)