mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
suppress abbreviated descriptions in document dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37674 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3634ae6c1f
commit
ed4bebf698
@ -1045,6 +1045,7 @@ GuiDocument::GuiDocument(GuiView & lv)
|
||||
numberingModule->tocTW->headerItem()->setText(0, qt_("Example"));
|
||||
numberingModule->tocTW->headerItem()->setText(1, qt_("Numbered"));
|
||||
numberingModule->tocTW->headerItem()->setText(2, qt_("Appears in TOC"));
|
||||
numberingModule->tocTW->header()->setResizeMode(QHeaderView::ResizeToContents);
|
||||
|
||||
|
||||
// biblio
|
||||
@ -1194,6 +1195,8 @@ GuiDocument::GuiDocument(GuiView & lv)
|
||||
// Modules
|
||||
modulesModule = new UiWidget<Ui::ModulesUi>;
|
||||
modulesModule->availableLV->header()->setVisible(false);
|
||||
modulesModule->availableLV->header()->setResizeMode(QHeaderView::ResizeToContents);
|
||||
modulesModule->availableLV->header()->setStretchLastSection(false);
|
||||
selectionManager =
|
||||
new ModuleSelectionManager(modulesModule->availableLV,
|
||||
modulesModule->selectedLV,
|
||||
|
@ -39,6 +39,9 @@ PanelStack::PanelStack(QWidget * parent)
|
||||
list_->setRootIsDecorated(false);
|
||||
list_->setColumnCount(1);
|
||||
list_->header()->hide();
|
||||
list_->header()->setResizeMode(QHeaderView::ResizeToContents);
|
||||
list_->header()->setStretchLastSection(false);
|
||||
list_->setMinimumSize(list_->viewport()->size());
|
||||
|
||||
connect(list_, SIGNAL(currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*)),
|
||||
this, SLOT(switchPanel(QTreeWidgetItem *, QTreeWidgetItem*)));
|
||||
|
Loading…
Reference in New Issue
Block a user