Author: mir3x
Date: Mon Nov 23 18:11:11 2015
New Revision: 30750

URL: http://svn.gna.org/viewcvs/freeciv?rev=30750&view=rev
Log:
Player dialog headers are now resized to fit actual contents in qt-client.

See bug #24102


Modified:
    trunk/client/gui-qt/plrdlg.cpp

Modified: trunk/client/gui-qt/plrdlg.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/plrdlg.cpp?rev=30750&r1=30749&r2=30750&view=diff
==============================================================================
--- trunk/client/gui-qt/plrdlg.cpp      (original)
+++ trunk/client/gui-qt/plrdlg.cpp      Mon Nov 23 18:11:11 2015
@@ -658,6 +658,7 @@
     plr_wdg->setCurrentIndex(qmi);
   }
 
+  plr_wdg->header()->resizeSections(QHeaderView::ResizeToContents);
   meet_but->setDisabled(true);
   cancel_but->setDisabled(true);
   withdraw_but->setDisabled(true);


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

Reply via email to