PanelStack::addPanel(): fixed document settings dialog size when first showed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13391 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-03-16 13:15:42 +00:00
parent 9ab55cbeb7
commit 937d6d1111
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-03-16 Abdelrazak Younes <younes.a@free.fr>
* PanelStack::addPanel(): fixed document settings dialog size when
first showed.
2006-03-16 Edwin Leuven <e.leuven@uva.nl>
* entries in the combobox in the toolbar are not legible

View File

@ -37,7 +37,7 @@ PanelStack::PanelStack(QWidget * parent)
list_->setColumnCount(1);
list_->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding));
stack_->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding));
stack_->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding));
list_->setSortingEnabled(false);
// list_->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
@ -108,7 +108,6 @@ void PanelStack::addPanel(QWidget * panel, string const & name, string const & p
widget_map_[item] = panel;
stack_->addWidget(panel);
stack_->setMinimumSize(panel->minimumSize());
resize(sizeHint());
}