Author: mir3x
Date: Sat Dec 10 13:28:22 2016
New Revision: 34694
URL: http://svn.gna.org/viewcvs/freeciv?rev=34694&view=rev
Log:
Qt client - fixed new turn information border (border no opacity)
See bug #25366
Modified:
branches/S2_6/client/gui-qt/hudwidget.cpp
branches/S2_6/data/themes/gui-qt/NightStalker/resource.qss
Modified: branches/S2_6/client/gui-qt/hudwidget.cpp
URL:
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/hudwidget.cpp?rev=34694&r1=34693&r2=34694&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/hudwidget.cpp (original)
+++ branches/S2_6/client/gui-qt/hudwidget.cpp Sat Dec 10 13:28:22 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: branches/S2_6/data/themes/gui-qt/NightStalker/resource.qss
URL:
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/themes/gui-qt/NightStalker/resource.qss?rev=34694&r1=34693&r2=34694&view=diff
==============================================================================
--- branches/S2_6/data/themes/gui-qt/NightStalker/resource.qss (original)
+++ branches/S2_6/data/themes/gui-qt/NightStalker/resource.qss Sat Dec 10
13:28:22 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
[email protected]
https://mail.gna.org/listinfo/freeciv-commits