Closed roman01la closed 6 years ago
Looks great. A few things:
.leftsidebar
needs an end bracket.Maybe there's another way to display a resizer control? When I get time i'll try to think of one...
Thanks for taking a look. I’ll update the PR with fixes.
Added hide/show buttons to deal with 3rd issue, also fixed CSS, sorry it was reformatted in my editor :(
Thanks, this is a good solution. I added some styling fixes and prevented the toolbar from moving when resizing (it was overlapping with the settings). Let me know if you notice any problems due to my changes. After i get a chance to try it more i'll push a release.
I was about to make InstaREPL resizable as well, what do you think?
Yeah that sounds great. Since it can be toggled off, we should probably have a minimum size. Otherwise it could get into a state where toggling on/off doesn't appear to do anything.
Had to temporarily move the resizer stuff to https://github.com/oakes/Nightlight/tree/resizer because it looks like things are broken during advanced compilation. Might be something I did, I'm not sure. I'll look into it when i get the chance
I released version 2.2.2 with sidebar resizing included. Turns out that the broken compilation only seems to happen on Windows, so I just compiled the release in WSL and it seems to work fine.
Thanks for making this! This PR makes it possible to adjust Tree view sidebar width and persist the value into Nightlight's config.