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

URL: http://svn.gna.org/viewcvs/freeciv?rev=28895&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:
    trunk/tools/mpgui_qt.cpp

Modified: trunk/tools/mpgui_qt.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/mpgui_qt.cpp?rev=28895&r1=28894&r2=28895&view=diff
==============================================================================
--- trunk/tools/mpgui_qt.cpp    (original)
+++ trunk/tools/mpgui_qt.cpp    Sun Apr 26 20:37:25 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