forked from qt-creator/qt-creator
Qml ColorTip: Remove border
Task-number: QTCREATORBUG-7273 Change-Id: I9a182d9385494a9f67843b8f022bcddbf9669c37 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -132,7 +132,7 @@ void ColorTip::paintEvent(QPaintEvent *event)
|
||||
QPainter painter(this);
|
||||
painter.setPen(pen);
|
||||
painter.setBrush(color);
|
||||
QRect r(1, 1, rect().width() - 2, rect().height() - 2);
|
||||
QRect r(0, 0, rect().width() - 1, rect().height() - 1);
|
||||
painter.drawTiledPixmap(r, m_tilePixMap);
|
||||
painter.drawRect(r);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user