mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Improve GUI (#1014)
This commit is contained in:
parent
b3299725f6
commit
f64b63c549
16 changed files with 218 additions and 76 deletions
|
|
@ -1072,6 +1072,10 @@ class AppUser extends AbstractApp
|
|||
fSetWidth = (iWidth) => {
|
||||
if (iWidth)
|
||||
{
|
||||
Globals.leftPanelWidth(iWidth);
|
||||
|
||||
Globals.$html.removeClass('rl-resizer');
|
||||
|
||||
oLeft.css({
|
||||
width: '' + iWidth + 'px'
|
||||
});
|
||||
|
|
@ -1095,6 +1099,7 @@ class AppUser extends AbstractApp
|
|||
fSetWidth(iWidth > iMinWidth ? iWidth : iMinWidth);
|
||||
}
|
||||
},
|
||||
|
||||
fResizeCreateFunction = (oEvent) => {
|
||||
if (oEvent && oEvent.target)
|
||||
{
|
||||
|
|
@ -1120,9 +1125,18 @@ class AppUser extends AbstractApp
|
|||
{
|
||||
Local.set(sClientSideKeyName, oObject.size.width);
|
||||
|
||||
Globals.leftPanelWidth(oObject.size.width);
|
||||
|
||||
oRight.css({
|
||||
left: '' + oObject.size.width + 'px'
|
||||
});
|
||||
|
||||
oLeft.css({
|
||||
position: '',
|
||||
top: '',
|
||||
left: '',
|
||||
height: ''
|
||||
});
|
||||
}
|
||||
}
|
||||
;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue