mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 08:35:16 -04:00
Set inititial sizes of the splitter and columns in FriendsDialog and SearchDialog.
Fixed height of the MainWindow when GetStartedDialog is visible. Fixed the initial size of the ShareManger and show the checkboxes for the share mode centered. Fixed german language. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4569 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d25730eabb
commit
0f51b7d72f
9 changed files with 231 additions and 287 deletions
|
@ -162,7 +162,7 @@ FriendsDialog::FriendsDialog(QWidget *parent)
|
|||
|
||||
connect(newsFeed, SIGNAL(newsFeedChanged(int)), this, SLOT(newsFeedChanged(int)));
|
||||
|
||||
ui.peertreeWidget->setColumnCount(COLUMN_COUNT);
|
||||
ui.peertreeWidget->setColumnWidth(COLUMN_NAME, 150);
|
||||
ui.peertreeWidget->sortItems(COLUMN_NAME, Qt::AscendingOrder);
|
||||
|
||||
// set header text aligment
|
||||
|
@ -233,6 +233,11 @@ FriendsDialog::FriendsDialog(QWidget *parent)
|
|||
setAcceptDrops(true);
|
||||
ui.lineEdit->setAcceptDrops(false);
|
||||
|
||||
/* Set initial size the splitter */
|
||||
QList<int> sizes;
|
||||
sizes << height() << 100; // Qt calculates the right sizes
|
||||
ui.splitter_2->setSizes(sizes);
|
||||
|
||||
updateAvatar();
|
||||
loadmypersonalstatus();
|
||||
displayMenu();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue