]> git.lyx.org Git - features.git/commitdiff
Get rid off unneeded horiz scrollbar
authorPavel Sanda <sanda@lyx.org>
Wed, 12 Aug 2009 09:46:26 +0000 (09:46 +0000)
committerPavel Sanda <sanda@lyx.org>
Wed, 12 Aug 2009 09:46:26 +0000 (09:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30985 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiBranches.cpp

index 5f9121dd640c5a032b67d6d0cd0f4a4c434618a1..bf2c5242da7d257588522fc38572352f885f1740 100644 (file)
@@ -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);