Author: mir3x
Date: Sat Dec 10 13:28:35 2016
New Revision: 34695

URL: http://svn.gna.org/viewcvs/freeciv?rev=34695&view=rev
Log:
Qt client - fixed new turn information border (border no opacity)

See bug #25366


Modified:
    trunk/client/gui-qt/hudwidget.cpp
    trunk/data/themes/gui-qt/NightStalker/resource.qss

Modified: trunk/client/gui-qt/hudwidget.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/hudwidget.cpp?rev=34695&r1=34694&r2=34695&view=diff
==============================================================================
--- trunk/client/gui-qt/hudwidget.cpp   (original)
+++ trunk/client/gui-qt/hudwidget.cpp   Sat Dec 10 13:28:35 2016
@@ -328,6 +328,7 @@
   c2.setAlphaF(c2.alphaF() * opacity);
   p.begin(this);
   p.setBrush(c2);
+  p.setPen(QColor(0, 0, 0, 0));
   p.drawRoundedRect(rfull, height() / 6 , height() / 6);
   p.setFont(f_text);
   p.setPen(c1);

Modified: trunk/data/themes/gui-qt/NightStalker/resource.qss
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/themes/gui-qt/NightStalker/resource.qss?rev=34695&r1=34694&r2=34695&view=diff
==============================================================================
--- trunk/data/themes/gui-qt/NightStalker/resource.qss  (original)
+++ trunk/data/themes/gui-qt/NightStalker/resource.qss  Sat Dec 10 13:28:35 2016
@@ -124,7 +124,6 @@
   background-color: #3d4552;
   border: 1px solid #2e2e2e;
   border-radius: 5px;
-  margin-top: 2ex;
 }
 
 hud_input_box QDialogButtonBox QPushButton:disabled {
@@ -562,7 +561,6 @@
   background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 
#3d4552, stop: 1 #383f4c);
   border: 1px solid #454545;
   border-radius: 5px;
-  margin-top: 2ex;
 }
 
 QComboBox:hover {
@@ -605,7 +603,6 @@
   background-color: #414a57;
   border: 1px solid #4f5a6a;
   border-radius: 5px;
-  margin-top: 2.5em;
 }
 
 city_dialog QTableWidget {


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

Reply via email to