HomePhabricator

Fix wallet selector size adjustment

Description

Fix wallet selector size adjustment

Summary:

This PR sets QComboBox::AdjustToContents instead of default QComboBox::AdjustToContentsOnFirstShow for wallet selectors.

This is a backport of Core PR15167

Test Plan:
ninja && src/qt/bitcoin-qt

Create a new wallet with a very long name, and check that the name is not truncated in the dropdown selectors (in main window and in the console tab of the debug dialog)

Reviewers: #bitcoin_abc, Fabien, majcosta

Reviewed By: #bitcoin_abc, Fabien, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D8356

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Jan 14 2019, 18:49
PiRKCommitted on Nov 10 2020, 16:51
PiRKPushed on Nov 10 2020, 16:51
Reviewer
Restricted Project
Differential Revision
D8356: Fix wallet selector size adjustment
Parents
rABCd793890d8df9: rest: Improve tests and documention of /headers and /block
Branches
Unknown
Tags
Unknown

Event Timeline

PiRK committed rABC5e802b32238f: Fix wallet selector size adjustment (authored by Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>).Nov 10 2020, 16:51