set a default minimum column header size for comments.

This commit is contained in:
defnax 2015-08-26 23:50:06 +02:00
parent 217c9b9538
commit 17af892434

View File

@ -41,6 +41,10 @@ GxsCommentDialog::GxsCommentDialog(QWidget *parent, RsTokenService *token_servic
//ui->postFrame->setVisible(false);
ui->treeWidget->setup(token_service, comment_service);
/* Set header resize modes and initial section sizes */
QHeaderView * ttheader = ui->treeWidget->header () ;
ttheader->resizeSection (0, 440);
/* fill in the available OwnIds for signing */
ui->idChooser->loadIds(IDCHOOSER_ID_REQUIRED, RsGxsId());