Author: cazfi
Date: Sun Apr 26 20:37:37 2015
New Revision: 28897

URL: http://svn.gna.org/viewcvs/freeciv?rev=28897&view=rev
Log:
Changing the window size of Qt-version of the modpack installer now
changes the size of the modpack list, not useless empty space.

Reported by Jacob Nevins <jtn>

See bug #23193

Modified:
    branches/S2_5/tools/mpgui_qt.cpp

Modified: branches/S2_5/tools/mpgui_qt.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/tools/mpgui_qt.cpp?rev=28897&r1=28896&r2=28897&view=diff
==============================================================================
--- branches/S2_5/tools/mpgui_qt.cpp    (original)
+++ branches/S2_5/tools/mpgui_qt.cpp    Sun Apr 26 20:37:37 2015
@@ -211,7 +211,7 @@
   main_layout->addWidget(version_label);
 
   mplist_table = new QTableWidget();
-  mplist_table->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Fixed);
+  mplist_table->setSizePolicy(QSizePolicy::MinimumExpanding, 
QSizePolicy::MinimumExpanding);
   mplist_table->setColumnCount(ML_COL_COUNT);
   headers << QString::fromUtf8(_("Name")) << QString::fromUtf8(_("Version"));
   headers << QString::fromUtf8(_("Installed")) << 
QString::fromUtf8(Q_("?modpack:Type"));


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to