minor improvements
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user