summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-07-11 13:33:54 (GMT)
committerTobias Markmann <tm@ayena.de>2016-07-12 09:18:54 (GMT)
commit0ea6c4a70e324c431bb4c10eab2f2de25da253e0 (patch)
treee76fbc3ef130b6e1d0a3b7c56c1f93119ad64f68 /Swift/resources/themes/Default/Unread.html
parentd508ac6ac41918d2c831b47b29761980989dd7f6 (diff)
downloadswift-0ea6c4a70e324c431bb4c10eab2f2de25da253e0.zip
swift-0ea6c4a70e324c431bb4c10eab2f2de25da253e0.tar.bz2
Change chat view layout to use tables for performance
This changes the CSS to change the chat view elements to table elements like <table>, <tr> and <td>. The previously used color block with the CSS attribute "position: fixed" had a very noticeable performance overhead when scrolling the view. Table layout has a noticeably smaller performance overhead when scrolling the chat view. Test-Information: Verified the chat view layout pretty much looks like the one we had before. Tested with Qt 5.5.1 on OS X 10.11.5. Change-Id: If950f2a45ea4f02b68cdcd81deff965147540c7e
Diffstat (limited to 'Swift/resources/themes/Default/Unread.html')
-rw-r--r--Swift/resources/themes/Default/Unread.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/resources/themes/Default/Unread.html b/Swift/resources/themes/Default/Unread.html
index f11162a..3e25431 100644
--- a/Swift/resources/themes/Default/Unread.html
+++ b/Swift/resources/themes/Default/Unread.html
@@ -1 +1 @@
-<div class='unread'><span class="swift_resizable"><p>Unread</p></span></div>
+<div class='unread'><div class="user"></div><div class="text"><span class="swift_resizable"><p>Unread</p></span></div></div> \ No newline at end of file