mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
change tips background color to black
Change-Id: I19b4e14724eb63dbfe02925b80350d2702ec4b45
This commit is contained in:
parent
d43bceb9b8
commit
2845f78ef7
Notes:
Deepin Code Review
2017-03-28 10:54:48 +08:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: 石博文 <sbw@sbw.so> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Tue, 28 Mar 2017 10:54:47 +0800 Reviewed-on: https://cr.deepin.io/21861 Project: dde/dde-dock Branch: refs/heads/master
@ -22,7 +22,7 @@ DockItem::DockItem(QWidget *parent)
|
||||
if (!PopupWindow.get())
|
||||
{
|
||||
DockPopupWindow *arrowRectangle = new DockPopupWindow(nullptr);
|
||||
// arrowRectangle->setShadowBlurRadius(0);
|
||||
arrowRectangle->setShadowBlurRadius(0);
|
||||
// arrowRectangle->setBorderWidth(0);
|
||||
arrowRectangle->setShadowDistance(0);
|
||||
arrowRectangle->setShadowYOffset(0);
|
||||
|
@ -20,6 +20,8 @@ DockPopupWindow::DockPopupWindow(QWidget *parent)
|
||||
m_acceptDelayTimer->setSingleShot(true);
|
||||
m_acceptDelayTimer->setInterval(100);
|
||||
|
||||
setBackgroundColor(QColor(16, 16, 16, 217));
|
||||
setBorderColor(QColor(255, 255, 255, 35));
|
||||
setWindowFlags(Qt::X11BypassWindowManagerHint | Qt::WindowStaysOnTopHint);
|
||||
setAttribute(Qt::WA_InputMethodEnabled, false);
|
||||
setFocusPolicy(Qt::StrongFocus);
|
||||
|
Loading…
x
Reference in New Issue
Block a user