From 6e3405d9819fb0aad7caec9250c33a3fe181b078 Mon Sep 17 00:00:00 2001 From: csoler Date: Mon, 6 Jul 2020 22:29:36 +0200 Subject: [PATCH] improved display in boards --- retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.h | 2 ++ retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.ui | 3 +++ 2 files changed, 5 insertions(+) diff --git a/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.h b/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.h index f8b41bede..5d23708e4 100644 --- a/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.h +++ b/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.h @@ -56,6 +56,8 @@ class PostedPostDelegate: public QAbstractItemDelegate void setCellWidth(int pix) { mCellWidthPix = pix; } private: + QSize cellSize(const QSize& w) const; + int mCellWidthPix; }; diff --git a/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.ui b/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.ui index 88cfc520b..62faa796c 100644 --- a/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.ui +++ b/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.ui @@ -509,6 +509,9 @@ p, li { white-space: pre-wrap; } QAbstractItemView::ScrollPerPixel + + 0 + false