mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 22:55:04 -04:00
Set the list with buttons in MainWindow and friend list in FriendsDialog to fixed when resizing the window.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7749 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a8b08c9957
commit
d87778172e
3 changed files with 470 additions and 479 deletions
|
@ -226,6 +226,10 @@ MainWindow::MainWindow(QWidget* parent, Qt::WindowFlags flags)
|
|||
|
||||
//ui->stackPages->setCurrentIndex(Settings->getLastPageInMainWindow());
|
||||
setNewPage(Settings->getLastPageInMainWindow());
|
||||
|
||||
ui->splitter->setStretchFactor(0, 0);
|
||||
ui->splitter->setStretchFactor(1, 1);
|
||||
|
||||
/* Load listWidget postion */
|
||||
QByteArray state = Settings->valueFromGroup("MainWindow", "SplitterState", QByteArray()).toByteArray();
|
||||
if (!state.isEmpty()) ui->splitter->restoreState(state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue