mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
* Set Text Alignment for Size column to AlignRight
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@822 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
faad47a636
commit
f30178f92b
@ -145,7 +145,7 @@ SearchDialog::SearchDialog(QWidget *parent)
|
||||
_smheader->setResizeMode (2, QHeaderView::Interactive);
|
||||
_smheader->setResizeMode (3, QHeaderView::Interactive);
|
||||
|
||||
_smheader->resizeSection ( 0, 200 );
|
||||
_smheader->resizeSection ( 0, 270 );
|
||||
_smheader->resizeSection ( 1, 75 );
|
||||
_smheader->resizeSection ( 2, 75 );
|
||||
_smheader->resizeSection ( 3, 240 );
|
||||
@ -488,6 +488,7 @@ void SearchDialog::resultsToTree(std::string txt, std::list<FileDetail> results)
|
||||
//QVariant * variant = new QVariant((qulonglong)it->size);
|
||||
//item->setText(SR_SIZE_COL, QString(variant->toString()));
|
||||
item->setText(SR_SIZE_COL, misc::friendlyUnit(it->size));
|
||||
item->setTextAlignment( SR_SIZE_COL, Qt::AlignRight );
|
||||
|
||||
|
||||
// I kept the color code green=online, grey=offline
|
||||
|
Loading…
Reference in New Issue
Block a user