Open core-ai-bot opened 3 years ago
Comment by peterflynn Tuesday May 21, 2013 at 19:34 GMT
Notes on backwards compatibility:
Resizer.makeResizable()
-- you'll get a deprecation warning but PanelManager will still "discover" the panel.$.show()
/.hide()
+ a call to EditorManager.resizeEditor()
-- all current functionality (including the new "editorAreaResize" event and the #2015 partial fix) will still work. However, you probably won't get the benefit of future panel-related fixes, like #3371 or the rest of #2015.EditorManager.resizeEditor()
-- it will continue to work (and the new "editorAreaResize" event is still fired).I tested a number of extensions to verify this:
Issue by peterflynn Tuesday May 21, 2013 at 19:07 GMT Originally opened as https://github.com/adobe/brackets/pull/3943
Fixes another part #2015 by maintaining panel max resize limits based on currently available slack space (i.e. space used by the editor area). This fixes part 1 of the 4-part list of issues there -- when dragging a panel to fill the whole UI, you can't overshoot and send the status bar (or other panels) sliding off the bottom of the window. And it gives us a clean foundation to build the remaining fixes on.
This also enables a cleaner fix to #3371 -- see pull #3931 which is based on this branch.
Here's what's changed:
peterflynn included the following code: https://github.com/adobe/brackets/pull/3943/commits