Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't resize the "Label" column in Receive Payment #2431

Closed
Inventatorul1 opened this issue Jan 21, 2022 · 1 comment · Fixed by #2543
Closed

Can't resize the "Label" column in Receive Payment #2431

Inventatorul1 opened this issue Jan 21, 2022 · 1 comment · Fixed by #2543
Assignees
Milestone

Comments

@Inventatorul1
Copy link

Inventatorul1 commented Jan 21, 2022

Bug Report

Current behavior
I can't find a way to resize the "Label" column in Receive Payment and Favourites

Expected behavior
It should be possible to resize it.

Screenshots
image

Gridcoin version
image

@jamescowens
Copy link
Member

This is because it was coded that way... from addressbookpage.cpp:
// Set column widths
ui->tableView->horizontalHeader()->setSectionResizeMode(AddressTableModel::Label, QHeaderView::Stretch);
ui->tableView->horizontalHeader()->setSectionResizeMode(AddressTableModel::Address, QHeaderView::ResizeToContents);
ui->tableView->horizontalHeader()->resizeSection(AddressTableModel::Address, 320);

This was similar to what was done in the transaction history table and it is pretty primitive. If folks like what I did in #2520, I will do something similar here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants