Changeset 12698


Ignore:
Timestamp:
Aug 20, 2011, 5:45:11 AM (10 years ago)
Author:
jordan
Message:

(trunk qt) fix text alignment issue in the inspector's peers tab's speed and percentage columns

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/details.cc

    r12044 r12698  
    772772                static const QIcon myEmptyIcon;
    773773                item = new PeerItem( peer );
    774                 item->setTextAlignment( COL_UP, Qt::AlignRight );
    775                 item->setTextAlignment( COL_DOWN, Qt::AlignRight );
    776                 item->setTextAlignment( COL_PERCENT, Qt::AlignRight );
     774                item->setTextAlignment( COL_UP, Qt::AlignRight|Qt::AlignVCenter );
     775                item->setTextAlignment( COL_DOWN, Qt::AlignRight|Qt::AlignVCenter );
     776                item->setTextAlignment( COL_PERCENT, Qt::AlignRight|Qt::AlignVCenter );
    777777                item->setIcon( COL_LOCK, peer.isEncrypted ? myEncryptionIcon : myEmptyIcon );
    778778                item->setToolTip( COL_LOCK, peer.isEncrypted ? tr( "Encrypted connection" ) : "" );
Note: See TracChangeset for help on using the changeset viewer.