mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-29 18:13:55 -07:00
Added more space between chat
Added a couple extra pixels in the chat. Make it look a little less squished. Before: http://imgur.com/7U6oe82 After: http://imgur.com/C8gGpDY
This commit is contained in:
parent
db0a77989b
commit
0cb1dde8c8
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ QTextCursor ChatView::prepareBlock(bool same)
|
||||||
QTextBlockFormat blockFormat;
|
QTextBlockFormat blockFormat;
|
||||||
if ((evenNumber = !evenNumber))
|
if ((evenNumber = !evenNumber))
|
||||||
blockFormat.setBackground(palette().alternateBase());
|
blockFormat.setBackground(palette().alternateBase());
|
||||||
blockFormat.setBottomMargin(2);
|
blockFormat.setBottomMargin(4);
|
||||||
cursor.insertBlock(blockFormat);
|
cursor.insertBlock(blockFormat);
|
||||||
} else
|
} else
|
||||||
cursor.insertHtml("<br>");
|
cursor.insertHtml("<br>");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue