improved alternate bg and seperator line

This commit is contained in:
fourtf 2018-11-01 18:04:14 +01:00
parent 2faf24e3d5
commit 9ced50e94e
3 changed files with 5 additions and 3 deletions

View file

@ -188,7 +188,7 @@ void MessageLayout::paint(QPainter &painter, int width, int y, int messageIndex,
// draw message seperation line
if (getSettings()->separateMessages.getValue())
{
painter.fillRect(0, y, this->container_->getWidth(), 1,
painter.fillRect(0, y, this->container_->getWidth() + 64, 1,
app->themes->splits.messageSeperator);
}

View file

@ -215,7 +215,7 @@ void Theme::actuallyUpdate(double hue, double multiplier)
this->messages.textColors.system = QColor(140, 127, 127);
this->messages.backgrounds.regular = splits.background;
this->messages.backgrounds.alternate = getColor(0, sat, 0.95);
this->messages.backgrounds.alternate = getColor(0, sat, 0.96);
if (isLight_)
{

View file

@ -500,7 +500,9 @@ void SplitHeader::paintEvent(QPaintEvent *)
painter.fillRect(rect(), this->theme->splits.header.background);
painter.setPen(this->theme->splits.header.border);
painter.drawRect(0, 0, width() - 1, height() - 1);
painter.drawRect(0, 0, width() - 1, height() - 2);
painter.fillRect(0, height() - 1, width(), 1,
this->theme->splits.background);
}
void SplitHeader::mousePressEvent(QMouseEvent *event)