Open core-ai-bot opened 3 years ago
Comment by peterflynn Monday Sep 10, 2012 at 05:54 GMT
We do refresh the editor height whenever the toolbar height changes (see the call to resizeEditor() in DocumentCommandHandlers), so in theory this should behave similarly to the editor's height changing due to a window resize.
Comment by pthiess Wednesday Sep 12, 2012 at 16:41 GMT
Reviewed -@
jasonsanjose
We may think about a centralized broadcast notification mechanism on layout changes. Might be part of the effort to remove Flexbox - may chat with NJ for ideas.
Comment by jasonsanjose Wednesday Oct 03, 2012 at 19:36 GMT
Oops. Didn't mean to auto close. FBNC@
joelrbrandt.
Issue by joelrbrandt Monday Sep 10, 2012 at 05:06 GMT Originally opened as https://github.com/adobe/brackets/issues/1606
If the Brackets window is sized appropriately, the height of the menu bar can change when the user switches files. For example, if one file has a long name and one has a short name, the menu bar will "wrap" onto two lines for the long name but not for the short name.
If an inline editor is open and the user switches files and then switches back, and the menu bar resizes as a result, then the inline editor UI gets messed up.
Steps to reproduce:
Result:
Inline editor UI is messed up
Expected:
Not messed up
Images: