openstyles / stylus

Stylus - Userstyles Manager
https://add0n.com/stylus.html
GNU General Public License v3.0
5.35k stars 302 forks source link

Option to force editor to vertical mode despite window width #1618

Open jasonmpotter opened 1 year ago

jasonmpotter commented 1 year ago

Hello,

I was hoping to find an easy way to implement this locally myself, but it could also be an option in the behavior settings. What I want is to use the more compact vertical editor mode. So the sidebar is at the top and miniaturized versus at the left. The code window I use is slightly bigger than what the auto-detecting width that switched the editor from vertical or horizonal sidebar mode.

If there is a straight forward way to do this without adding in another option, I'd appreciate the details. Though, I think it might be useful for others who want to make better use of the width of their coding window.

Thanks in advance and retroactively for all the work done on this great addon, it is a life changer and has been a staple part of my toolkit for so many years now.

tophf commented 1 year ago

No, the threshold is hardcoded. I don't mind adding an option for it (probably in "Editor settings" section).

jasonmpotter commented 1 year ago

awesome, thanks for the response, looking forward to it! =D

konieckropka commented 9 months ago

@jasonmpotter If you are trying to get more vertical space within editor with you might want to check out my style that auto-hides sidebar to the left. It is still accessible on mouse hover but for 99% percent of time you don't need it so it's hidden.

https://userstyles.world/style/9126/stylus-editor-full-width-editor-and-hidden-sidebar

image

jasonmpotter commented 9 months ago

@jasonmpotter If you are trying to get more vertical space within editor with you might want to check out my style that auto-hides sidebar to the left. It is still accessible on mouse hover but for 99% percent of time you don't need it so it's hidden.

https://userstyles.world/style/9126/stylus-editor-full-width-editor-and-hidden-sidebar![](chrome-extension://efbjojhplkelaegfbieplglfidafgoka/icons/vt-logo.svg)

image

Very nice and convenient, this does indeed give me the desired effect. Thank you very much.