mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
Enforce minimum width of address input so it's ~ same size as a bitcoin address.
This commit is contained in:
parent
c24bd30643
commit
d825578099
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,10 @@ class MiniWindow(QDialog):
|
|||
self.address_input.setObjectName("address_input")
|
||||
self.connect(self.address_input, SIGNAL("textChanged(QString)"),
|
||||
self.address_field_changed)
|
||||
metrics = QFontMetrics(qApp.font())
|
||||
self.address_input.setMinimumWidth(
|
||||
metrics.width("1E4vM9q25xsyDwWwdqHUWnwshdWC9PykmL"))
|
||||
|
||||
self.valid_address = QCheckBox()
|
||||
self.valid_address.setObjectName("valid_address")
|
||||
self.valid_address.setEnabled(False)
|
||||
|
|
Loading…
Add table
Reference in a new issue