diff --git a/src/frontends/qt4/GuiBibitem.cpp b/src/frontends/qt4/GuiBibitem.cpp index e444f36403..9672b499ee 100644 --- a/src/frontends/qt4/GuiBibitem.cpp +++ b/src/frontends/qt4/GuiBibitem.cpp @@ -58,8 +58,13 @@ void GuiBibitem::paramsToDialog(Inset const * inset) allAuthorsED->setHidden(false); allAuthorsLA->setHidden(false); labelLA->setText(qt_("Author &Names:")); + labelLA->setMaximumWidth(labelLA->sizeHint().width()); labelED->setToolTip(qt_("Insert the author name(s) for the author-year reference here. " "If you use an abbreviated list (with 'et al.'), the full list can go below.")); + allAuthorsLA->setText(qt_("A&ll Author Names:")); + allAuthorsLA->setMaximumWidth(allAuthorsLA->sizeHint().width()); + literalCB->setToolTip(qt_("Pass content of the `Author', 'Year' and 'All Authors' fields literally to LaTeX. " + "Check this if you want to enter LaTeX code.")); int const i = label.lastIndexOf("("); int const j = label.lastIndexOf(")"); if (i != -1 && j != -1 && i < j) { @@ -79,9 +84,14 @@ void GuiBibitem::paramsToDialog(Inset const * inset) yearLA->setHidden(true); allAuthorsED->setHidden(true); allAuthorsLA->setHidden(true); + allAuthorsLA->setText(qt_("&Label:")); + allAuthorsLA->setMaximumWidth(allAuthorsLA->sizeHint().width()); labelLA->setText(qt_("&Label:")); + labelLA->setMaximumWidth(labelLA->sizeHint().width()); labelED->setToolTip(qt_("The label as it appears in the document")); labelED->setText(label); + literalCB->setToolTip(qt_("Pass content of the `Label' field literally to LaTeX. " + "Check this if you want to enter LaTeX code.")); } } diff --git a/src/frontends/qt4/ui/BibitemUi.ui b/src/frontends/qt4/ui/BibitemUi.ui index a32a8c71e1..7385133ff4 100644 --- a/src/frontends/qt4/ui/BibitemUi.ui +++ b/src/frontends/qt4/ui/BibitemUi.ui @@ -6,122 +6,117 @@ 0 0 - 467 - 170 + 503 + 168 + + + 0 + 0 + + - - - + + + + + The bibliography key + - + Ke&y: + + + keyED - - - - - - The bibliography key - - - Ke&y: - - - keyED - - - - - + + + + + 0 + 0 + + + + The bibliography key + + + + + + + The label as it appears in the document + + + &Label: + + + labelED + + + + + + + 0 + + + 0 0 - - The bibliography key - - - - - The label as it appears in the document + + + + - &Label: + &Year: + + + 6 - labelED + yearED - - - - 0 - - - - - - 0 - 0 - - - - The label as it appears in the document - - - - - - - &Year: - - - 6 - - - yearED - - - - - - - The year with "Author (Year)" citations (without parentheses). - - - - - - - - - A&ll Author Names: - - - allAuthorsED - - - - - + + - If you want to use an abbreviated author list (with 'et al.') as well as a full list for author-year citation, you can put the full list here and the abbreviated list above. + The year with "Author (Year)" citations (without parentheses). - + + + + A&ll Author Names: + + + allAuthorsED + + + + + + + If you want to use an abbreviated author list (with 'et al.') as well as a full list for author-year citation, you can put the full list here and the abbreviated list above. + + + + Pass content of the `Label' field literally to LaTeX. Check this if you want to enter LaTeX code. @@ -131,6 +126,19 @@ + + + + Qt::Vertical + + + + 20 + 0 + + + +