Tweak UI.
This commit is contained in:
parent
57f04cf308
commit
6ecef7608c
|
@ -103,7 +103,8 @@ Item {
|
|||
ListView {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.margins: 16
|
||||
Layout.leftMargin: 16
|
||||
Layout.rightMargin: 16
|
||||
|
||||
id: messageListView
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue