mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Set a minimum column width
This commit is contained in:
parent
38b86c37ab
commit
d1be3f3a4f
@ -240,6 +240,7 @@ IdDialog::IdDialog(QWidget *parent) :
|
|||||||
/* Set initial section sizes */
|
/* Set initial section sizes */
|
||||||
QHeaderView * circlesheader = ui->treeWidget_membership->header () ;
|
QHeaderView * circlesheader = ui->treeWidget_membership->header () ;
|
||||||
circlesheader->resizeSection (CIRCLEGROUP_CIRCLE_COL_GROUPNAME, QFontMetricsF(ui->idTreeWidget->font()).width("Circle name")*1.5) ;
|
circlesheader->resizeSection (CIRCLEGROUP_CIRCLE_COL_GROUPNAME, QFontMetricsF(ui->idTreeWidget->font()).width("Circle name")*1.5) ;
|
||||||
|
ui->treeWidget_membership->setColumnWidth(CIRCLEGROUP_CIRCLE_COL_GROUPNAME, 270);
|
||||||
|
|
||||||
ui->filterLineEdit->addFilter(QIcon(), tr("ID"), RSID_COL_KEYID, tr("Search ID"));
|
ui->filterLineEdit->addFilter(QIcon(), tr("ID"), RSID_COL_KEYID, tr("Search ID"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user