mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
9ab55cbeb7
commit
937d6d1111
@ -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
|
||||
|
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user