minor improvements

This commit is contained in:
fourtf
2018-12-02 17:49:15 +01:00
parent 52dcc2130e
commit 0e242202a4
8 changed files with 35 additions and 24 deletions
+1 -1
View File
@@ -1684,7 +1684,7 @@ bool ChannelView::tryGetMessageAt(QPoint p,
int ChannelView::getLayoutWidth() const
{
if (this->scrollBar_->isVisible())
return int(this->width() - 8 * this->scale());
return int(this->width() - scrollbarPadding * this->scale());
return this->width();
}
+3
View File
@@ -201,6 +201,9 @@ private:
std::unordered_set<std::shared_ptr<MessageLayout>> messagesOnScreen_;
static constexpr int leftPadding = 8;
static constexpr int scrollbarPadding = 8;
private slots:
void wordFlagsChanged()
{