Skip to content

Commit

Permalink
[GUI] Add more room to contacts dropdown
Browse files Browse the repository at this point in the history
Github-Pull: #1425
Rebased-From: 452a461
  • Loading branch information
random-zebra authored and Fuzzbawls committed May 5, 2020
1 parent 93929a2 commit 0a9fa8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/qt/pivx/coldstakingwidget.cpp
Expand Up @@ -339,7 +339,7 @@ void ColdStakingWidget::onContactsClicked()
ui->vContainerOwner->getContentsMargins(&margin2, nullptr, nullptr, nullptr);
pos.setX(pos.x() + margin1 + margin2);

height = (contactsSize <= 2) ? height * ( 2 * (contactsSize + 1 )) : height * 4;
height = (contactsSize <= 2) ? height * ( 2 * (contactsSize + 1 )) : height * 6;

if (!menuContacts) {
menuContacts = new ContactsDropdown(
Expand Down
2 changes: 1 addition & 1 deletion src/qt/pivx/send.cpp
Expand Up @@ -714,7 +714,7 @@ void SendWidget::onContactsClicked(SendMultiRow* entry)
return;
}

int height = (contactsSize <= 2) ? entry->getEditHeight() * ( 2 * (contactsSize + 1 )) : entry->getEditHeight() * 4;
int height = (contactsSize <= 2) ? entry->getEditHeight() * ( 2 * (contactsSize + 1 )) : entry->getEditHeight() * 6;
int width = entry->getEditWidth();

if (!menuContacts) {
Expand Down

0 comments on commit 0a9fa8d

Please sign in to comment.