Tweak UI.
This commit is contained in:
@@ -103,7 +103,8 @@ Item {
|
|||||||
ListView {
|
ListView {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.margins: 16
|
Layout.leftMargin: 16
|
||||||
|
Layout.rightMargin: 16
|
||||||
|
|
||||||
id: messageListView
|
id: messageListView
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ void ImageItem::paint(QPainter *painter) {
|
|||||||
int(bounding_rect.height()));
|
int(bounding_rect.height()));
|
||||||
painter->setPen(QPen(Qt::white, 2));
|
painter->setPen(QPen(Qt::white, 2));
|
||||||
QFont font;
|
QFont font;
|
||||||
|
font.setStyleHint(QFont::SansSerif);
|
||||||
|
|
||||||
font.setPixelSize(int(bounding_rect.width() / 2));
|
font.setPixelSize(int(bounding_rect.width() / 2));
|
||||||
font.setBold(true);
|
font.setBold(true);
|
||||||
painter->setFont(font);
|
painter->setFont(font);
|
||||||
|
|||||||
Reference in New Issue
Block a user