Page MenuHomePhabricator

Fix wallet selector size adjustment
ClosedPublic

Authored by PiRK on Nov 10 2020, 16:04.

Details

Reviewers
Fabien
majcosta
Group Reviewers
Restricted Project
Commits
rABC5e802b32238f: 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)

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable