mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-14 18:34:29 -05:00
set a default size for Links Cloud tree items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2941 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a8c4b3b107
commit
d357459d96
@ -355,6 +355,8 @@ void LinksDialog::updateLinks()
|
||||
/* (0) Title */
|
||||
{
|
||||
item -> setText(0, QString::fromStdWString(detail.title));
|
||||
item -> setSizeHint(0, QSize( 20,20 ) );
|
||||
|
||||
/* Bold and bigger */
|
||||
/*QFont font = item->font(0);
|
||||
font.setBold(true);
|
||||
@ -367,6 +369,8 @@ void LinksDialog::updateLinks()
|
||||
std::ostringstream out;
|
||||
out << 100 * (detail.rank / (maxRank + 0.01));
|
||||
item -> setText(1, QString::fromStdString(out.str()));
|
||||
item -> setSizeHint(1, QSize( 20,20 ) );
|
||||
|
||||
/* Bold and bigger */
|
||||
/*QFont font = item->font(1);
|
||||
font.setBold(true);
|
||||
@ -377,6 +381,8 @@ void LinksDialog::updateLinks()
|
||||
/* (2) Link */
|
||||
{
|
||||
item -> setText(2, QString::fromStdWString(detail.link));
|
||||
item -> setSizeHint(2, QSize( 20,20 ) );
|
||||
|
||||
/* Bold and bigger */
|
||||
/*QFont font = item->font(2);
|
||||
font.setBold(true);
|
||||
|
Loading…
Reference in New Issue
Block a user