Make it easier to add top/bottom bars #8939
Comments
👀 |
After trying it out I think I'm gonna close this again as
It feels weird, because the status-bar changes based on to the active editor and should stay somewhat connected and not something that is global.
It also feels weird because the status-bar should stay as the last thing at the bottom. |
I disagree about that the status-bar should be connected (same width) to the editor. The status-bar can contain tiles that aren't necessary related to the editor. Besides, if I split the screen it doesn't split the status-bar too. Making the status-bar to the full width has my preference. Personally I have the tool-bar positioned at the top, like any other (Windows) desktop program has placed their (customizable) toolbars. To this day I find it weird that it's beside the tree-view and not above it, while it contains buttons that are related to the tree-view and not the editor only. |
True. Ok, we can reopen it and at least make it technically possible. |
The panels API could be extended by adding another boolean property (e.g. |
I'm the author of the theme atom-visual-studio-code-ui and I'm running into this issue too trying to modify the status bar width. I've tried to set the position to fixed, but then I can't see the last line of the editor. |
+1 for optional parameter in the same method. Not to forget, other than the bottom position, there's the top. Except that the toolbar should really be over the sidebar as well as it is then @Zeioth Read here. You need to resize the atom workspace as well, to prevent hiding the last line. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks! |
From this discussion: https://discuss.atom.io/t/placing-element-at-top-of-atom-for-package/21118
Problem:
Currently you can't easily add a bar to the top or bottom that spans across the whole width. If you try, it pushes down the status bar. I guess because
atom-workspace-axis
hasheight: 100%
.An option is to add it above/below the editor, like
tool-bar
currently does, but that might not be desired for all packages.Possible solution:
Add two empty
<atom-panel-container>
as children of<atom-workspace>
. They're just placeholders and won't take up space if they are empty, but it would allow other packages to fill them.The text was updated successfully, but these errors were encountered: