diff --git a/qml/form/RoomForm.qml b/qml/form/RoomForm.qml index 78ca76b..57df8dd 100644 --- a/qml/form/RoomForm.qml +++ b/qml/form/RoomForm.qml @@ -103,7 +103,8 @@ Item { ListView { Layout.fillWidth: true Layout.fillHeight: true - Layout.margins: 16 + Layout.leftMargin: 16 + Layout.rightMargin: 16 id: messageListView diff --git a/src/imageitem.cpp b/src/imageitem.cpp index 18e1509..5590c0a 100644 --- a/src/imageitem.cpp +++ b/src/imageitem.cpp @@ -25,6 +25,8 @@ void ImageItem::paint(QPainter *painter) { int(bounding_rect.height())); painter->setPen(QPen(Qt::white, 2)); QFont font; + font.setStyleHint(QFont::SansSerif); + font.setPixelSize(int(bounding_rect.width() / 2)); font.setBold(true); painter->setFont(font);