X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiBranches.cpp;h=bf2c5242da7d257588522fc38572352f885f1740;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=5f9121dd640c5a032b67d6d0cd0f4a4c434618a1;hpb=e6f922009f6311b561a1a3fa830f9eb3024d7902;p=lyx.git diff --git a/src/frontends/qt4/GuiBranches.cpp b/src/frontends/qt4/GuiBranches.cpp index 5f9121dd64..bf2c5242da 100644 --- a/src/frontends/qt4/GuiBranches.cpp +++ b/src/frontends/qt4/GuiBranches.cpp @@ -51,6 +51,8 @@ GuiBranches::GuiBranches(QWidget * parent) branchesTW->headerItem()->setText(2, qt_("Color")); branchesTW->headerItem()->setText(3, qt_("Filename Suffix")); branchesTW->setSortingEnabled(true); + branchesTW->resizeColumnToContents(1); + branchesTW->resizeColumnToContents(2); undef_ = new BranchesUnknownDialog(this); undef_bc_.setPolicy(ButtonPolicy::OkCancelPolicy);