mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-30 20:36:36 -05:00
Set default column width for nickname columns & fixed missed icons
* Set default column width for nickname columns & fixed missed icons * Set by default white background color for the Follower list frame
This commit is contained in:
parent
8b5bfdfdcf
commit
159fad476a
4 changed files with 15 additions and 7 deletions
|
|
@ -78,6 +78,11 @@ CreateCircleDialog::CreateCircleDialog()
|
|||
headerText = headerItem->text(RSCIRCLEID_COL_KEYID);
|
||||
ui.IdFilter->addFilter(QIcon(), headerText, RSCIRCLEID_COL_KEYID, QString("%1 %2").arg(tr("Search"), headerText));
|
||||
|
||||
/* Set initial column width */
|
||||
int fontWidth = QFontMetricsF(ui.treeWidget_IdList->font()).width("W");
|
||||
ui.treeWidget_IdList->setColumnWidth(RSCIRCLEID_COL_NICKNAME, 17 * fontWidth);
|
||||
ui.treeWidget_membership->setColumnWidth(RSCIRCLEID_COL_NICKNAME, 17 * fontWidth);
|
||||
|
||||
ui.removeButton->setEnabled(false);
|
||||
ui.addButton->setEnabled(false);
|
||||
ui.radioButton_ListAll->setChecked(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue