When using the Verify Message functionality, I found the input boxes to be rather confusing as they had no guidance for their purpose.
I have added tooltips and labels to aid users when verifying messages in future
When using the Verify Message functionality, I found the input boxes to be rather confusing as they had no guidance for their purpose.
I have added tooltips and labels to aid users when verifying messages in future
40 | @@ -41,6 +41,9 @@ SignVerifyMessageDialog::SignVerifyMessageDialog(const PlatformStyle *_platformS 41 | GUIUtil::setupAddressWidget(ui->addressIn_SM, this); 42 | GUIUtil::setupAddressWidget(ui->addressIn_VM, this); 43 | 44 | + ui->messageIn_VM->setPlaceholderText(tr("Enter the signed message to verify"));
Why aren't these in the .ui file?
I tried to keep the changes consistent with the rest of this file, by adding the placeholder text in code
FWIW the historical reason for this is that there was some Qt 4.x version that didn't support placeholder text in the .ui file. Support for Qt4 was dropped ages ago so this is not a concern anymore. Feel free to simply add it in the ui file.
Ahh that makes sense, thank you. I'll redo these changes tonight in the UI file and commit.
Usually, we squash the commits after a fixup, according to https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#squashing-commits
ACK after squash
Rebase and Squash done.
Code review ACK 610d9384de7f4de861d94c9b1af4fddc8aa57ad9. Nit, commit and title are a little weird. Suggestion: "gui: Add toolTip and placeholderText to sign message fields"
ACK 610d9384de7f4de861d94c9b1af4fddc8aa57ad9 (looks good, didn't compile or tested the changes)
ACK - 610d9384de7f4de861d94c9b1af4fddc8aa57ad9
master (029c65e04cc2826817e6b5b10696c0e390694ae8):

PR (610d9384de7f4de861d94c9b1af4fddc8aa57ad9):
