From 18fccd9d6c612e0a2ff9ddfa37f877cfa51e5c0d Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Wed, 30 Dec 2015 11:15:04 +0100 Subject: [IMP] mail: put chat windows in a dropdown in case of overflow Former algorithm to display chat windows was pretty basic: each window was positionned 5 pixels to the left of the previous one, starting from the bottom right corner of the screen. Thus, when there were too many chat windows to fit in the screen, they overflowed to the left. This rev. handles this case by hidding overflowing chat windows and making them available in a dropdown positionned 5 pixels to the left of the last visible chat window. --- addons/mail/static/src/xml/chat_window.xml | 44 +++++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 7 deletions(-) (limited to 'addons/mail/static/src/xml/chat_window.xml') diff --git a/addons/mail/static/src/xml/chat_window.xml b/addons/mail/static/src/xml/chat_window.xml index 01e475a6eb8..58d04c19838 100644 --- a/addons/mail/static/src/xml/chat_window.xml +++ b/addons/mail/static/src/xml/chat_window.xml @@ -1,16 +1,13 @@ -
- - - - - - + + + +
@@ -20,4 +17,37 @@
+ +
+ + + + + + + +
+
+ + + + + + () + + + + + + +
-- cgit v1.2.3