mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-20 13:56:39 -04:00
Added some fixes from RetroPooh
* Append space after nick paste on click at chat participant list * Allow tabs resize in bw stats * Remove freezes caused by resizing each update
This commit is contained in:
parent
9963310a94
commit
ad2fa44a81
@ -696,7 +696,7 @@ void ChatLobbyDialog::participantsTreeWidgetDoubleClicked(QTreeWidgetItem *item,
|
||||
|
||||
if(column == COLUMN_NAME)
|
||||
{
|
||||
getChatWidget()->pasteText("@" + RsHtml::plainText(item->text(COLUMN_NAME))) ;
|
||||
getChatWidget()->pasteText("@" + RsHtml::plainText(item->text(COLUMN_NAME)) + " ") ;
|
||||
return ;
|
||||
}
|
||||
|
||||
|
@ -1113,7 +1113,3 @@ PulseTopLevel QFrame#frame, PulseViewGroup QFrame#frame, PulseReply QFrame#frame
|
||||
ChatLobbyWidget QTreeWidget#lobbyTreeWidget{
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
NewFriendList QTreeView#peerTreeWidget {
|
||||
font-size: 12pt;
|
||||
}
|
||||
|
@ -192,7 +192,7 @@ BwCtrlWindow::BwCtrlWindow(QWidget *parent)
|
||||
/* Set header resize modes and initial section sizes Peer TreeView*/
|
||||
QHeaderView * _header = bwTreeWidget->header () ;
|
||||
// _header->resizeSection ( COLUMN_RSNAME, 170*fact );
|
||||
QHeaderView_setSectionResizeMode(_header, QHeaderView::ResizeToContents);
|
||||
QHeaderView_setSectionResizeMode(_header, QHeaderView::Interactive);
|
||||
}
|
||||
|
||||
BwCtrlWindow::~BwCtrlWindow()
|
||||
|
@ -109,7 +109,7 @@ void DhtWindow::updateDisplay()
|
||||
|
||||
RsAutoUpdatePage::unlockAllEvents() ;
|
||||
|
||||
QHeaderView_setSectionResizeMode(ui.peerTreeWidget->header(), QHeaderView::ResizeToContents);
|
||||
//QHeaderView_setSectionResizeMode(ui.peerTreeWidget->header(), QHeaderView::ResizeToContents);
|
||||
QHeaderView_setSectionResizeMode(ui.dhtTreeWidget->header(), QHeaderView::ResizeToContents);
|
||||
QHeaderView_setSectionResizeMode(ui.relayTreeWidget->header(), QHeaderView::ResizeToContents);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user