mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-27 02:11:27 -05:00
fixed Treewidget header textalignment tp center
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@649 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ea1326cf04
commit
a9bda83565
@ -106,6 +106,13 @@ PeersDialog::PeersDialog(QWidget *parent)
|
|||||||
_header->resizeSection ( 6, 120 );
|
_header->resizeSection ( 6, 120 );
|
||||||
_header->resizeSection ( 7, 220 );*/
|
_header->resizeSection ( 7, 220 );*/
|
||||||
|
|
||||||
|
// set header text aligment
|
||||||
|
QTreeWidgetItem * headerItem = ui.peertreeWidget->headerItem();
|
||||||
|
headerItem->setTextAlignment(0, Qt::AlignHCenter | Qt::AlignVCenter);
|
||||||
|
headerItem->setTextAlignment(1, Qt::AlignHCenter | Qt::AlignVCenter);
|
||||||
|
headerItem->setTextAlignment(2, Qt::AlignHCenter | Qt::AlignVCenter);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
loadEmoticonsgroupchat();
|
loadEmoticonsgroupchat();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user