From 29df3045280b3019ee4e8e0b404c7d3cf93aff63 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Wed, 12 Aug 2009 09:46:26 +0000 Subject: [PATCH] Get rid off unneeded horiz scrollbar git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30985 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiBranches.cpp | 2 ++ 1 file changed, 2 insertions(+) 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);