Hadi Nategh
2741ebc959
* Mail: Fix issue download an attachment from mail preview, crashes Chrome
2015-10-16 07:51:05 +00:00
Hadi Nategh
04f610b32c
Do not trigger a second resize on split widget as it may conflict with browser bottom download bar
2015-10-15 14:34:50 +00:00
Hadi Nategh
1a4705ca5c
Fix split widget does not take right size
2015-09-29 12:17:14 +00:00
Hadi Nategh
cc71dba657
Fix the splitter percentage size to 2 trialing decimals
2015-03-03 13:50:46 +00:00
Hadi Nategh
ea610d7338
Make sure the prefSize gets set in splitter
2015-03-03 11:45:01 +00:00
Hadi Nategh
c481d5dd62
Save splitter preferd size base on percentage instead of pixel, because user may switch between different screen with different resolution
2015-03-02 15:17:01 +00:00
Hadi Nategh
5fe98953a1
Fix splitter widget dock to the fullSize if there is no size preference yet
2015-02-17 12:52:49 +00:00
Hadi Nategh
dbdc14e376
Special handling when printing for splitter
2015-02-12 12:44:22 +00:00
Nathan Gray
a7a1474229
Add a check for invalid position preference.
...
This happens if the user has switched to a window smaller than previous, where their preference is now invalid.
Fixes splitter at top when viewing mail in smaller window.
2014-02-18 16:55:55 +00:00
Nathan Gray
c5d1cc8cd1
Fix missing destruction of splitter children
2014-02-13 18:28:53 +00:00
Nathan Gray
b307202565
- Give default settings based on dynheight in case of missing preference and deferred layout
...
- Force layout _before_ setting preference too, or it will render children properly but store a bad size in prefs.
2014-02-13 17:05:14 +00:00
Nathan Gray
d3e9f43b94
Don't initialize a hidden splitter, it ruins the size calculations. Initialization for hidden splitter is done (if needed) in resize().
...
Fixes mail splitter in hidden tab initializing to top, wrecking nextmatch grid.
2014-01-27 22:04:56 +00:00
Nathan Gray
1933389ae2
Fix some more splitter strange behaviour
...
- Add ignore zone, undock won't go to a position < 20px from edge. In that case, it undocks to 50%
- Work around deferred layout (Chrome & Firefox) which caused wrong DOMNode height, which broke nm resizing
2014-01-17 12:43:14 +00:00
Nathan Gray
ccae3f71ab
Fix undeclared var (strict mode)
2013-12-18 18:17:34 +00:00
Nathan Gray
0f5cfe1949
Default to user's preferred size, app can dock if desired. Since they already do...
2013-11-29 21:26:35 +00:00
Nathan Gray
e231ca5212
Fix some splitter issues:
...
- Loaded at wrong size
- Docking lost previous pane size
- Docking overwrote bar location preference
- Allowed etemplate to think load was done too early
2013-11-20 23:27:10 +00:00
Nathan Gray
1f1ea27078
Resize children's height too
2013-11-20 00:03:58 +00:00
Nathan Gray
ef884aa1cd
Try for a more local parent node than window to get better sizing, explicitly resize child nodes
2013-10-03 12:56:29 +00:00
Ralf Becker
74cb73d2d2
moved most action "comfort" functions (with exception of nm_action and pagination) from server-side nextmatch class to client-side egwActions.updateActions() method, so they are available for all widgets
2013-07-20 13:45:22 +00:00
Nathan Gray
9248942e9f
idots theme needs to use window, since the parent might not be full height either
2013-05-28 17:11:35 +00:00
Nathan Gray
68b4d0e975
Don't try to fill the window, just the parent
2013-05-27 23:12:40 +00:00
Ralf Becker
e64c4fbd04
add some JSDoc so Eclipse shows an outline: @memberOf and @augments (not yet understood by Eclipse), also fixed many warnings (mostly missing semicolons)
2013-04-13 19:00:13 +00:00
Nathan Gray
ec1ad6f09e
Change splitter preference saving to save on mouseup
2013-04-10 09:25:05 +00:00
Nathan Gray
ff078c92e1
Get horizontal splitter and nextmatch playing nice together
2013-02-22 16:02:47 +00:00
Nathan Gray
03c9c0804f
Split panel widget. Mostly working, needs some more special case for working with nm - they both want full page
2013-02-22 00:25:41 +00:00