mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-18 02:07:41 +00:00
Merge pull request 'Home: wrap text in tables' (#227) from tobtoht/feather:home_widget_wrap into master
Reviewed-on: https://git.wownero.com/feather/feather/pulls/227
This commit is contained in:
commit
6c8255b12b
2 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,8 @@ CCSWidget::CCSWidget(QWidget *parent) :
|
||||||
connect(ui->tableView, &QHeaderView::customContextMenuRequested, this, &CCSWidget::showContextMenu);
|
connect(ui->tableView, &QHeaderView::customContextMenuRequested, this, &CCSWidget::showContextMenu);
|
||||||
|
|
||||||
connect(ui->tableView, &QTableView::doubleClicked, this, &CCSWidget::linkClicked);
|
connect(ui->tableView, &QTableView::doubleClicked, this, &CCSWidget::linkClicked);
|
||||||
|
|
||||||
|
ui->tableView->verticalHeader()->setSectionResizeMode(QHeaderView::ResizeToContents);
|
||||||
}
|
}
|
||||||
|
|
||||||
CCSModel* CCSWidget::model() {
|
CCSModel* CCSWidget::model() {
|
||||||
|
|
|
@ -26,6 +26,8 @@ RedditWidget::RedditWidget(QWidget *parent) :
|
||||||
connect(ui->tableView, &QHeaderView::customContextMenuRequested, this, &RedditWidget::showContextMenu);
|
connect(ui->tableView, &QHeaderView::customContextMenuRequested, this, &RedditWidget::showContextMenu);
|
||||||
|
|
||||||
connect(ui->tableView, &QTableView::doubleClicked, this, &RedditWidget::linkClicked);
|
connect(ui->tableView, &QTableView::doubleClicked, this, &RedditWidget::linkClicked);
|
||||||
|
|
||||||
|
ui->tableView->verticalHeader()->setSectionResizeMode(QHeaderView::ResizeToContents);
|
||||||
}
|
}
|
||||||
|
|
||||||
RedditModel* RedditWidget::model() {
|
RedditModel* RedditWidget::model() {
|
||||||
|
|
Loading…
Reference in a new issue