Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Layer window-size changeable #742

Open
kaykasus opened this issue Nov 17, 2020 · 5 comments
Open

[Feature] Layer window-size changeable #742

kaykasus opened this issue Nov 17, 2020 · 5 comments

Comments

@kaykasus
Copy link

kaykasus commented Nov 17, 2020

It would be great if we could change the layer window width on the left side (drag and drop) to see the complete layer names when they are bigger then the width itself. Sometimes layer names are similiar in the front but have different endings. Right now you have to select a layer to see the full name in the layer editor windows next to the right.

@orangemug
Copy link
Collaborator

That's a nice idea, spotify has a really nice way of doing this on their web player (see https://open.spotify.com/) it's keyboard accessible.

@kaykasus
Copy link
Author

Hi! Any updates on this case? I have to use both, maputnik and visual studio code to have a decent way editing my styles.

@HarelM
Copy link
Member

HarelM commented Jan 19, 2024

I think an expander type of control is usually a hassle to write and maintain, not to mention remember your state.
Would a tooltip (instant one, not one that has a delay) solve this issue?

@kaykasus
Copy link
Author

I guess a tooltip would help a little if the column isn't going to be variable in size. IMO the remembered state isn't that important because you won't size it to an exact window width all the time.

@HarelM
Copy link
Member

HarelM commented Jan 23, 2024

The main issue is that writing a dragable resizeable component is not easy, I've done that in the past and there were a lot of problems. On the other hand, a tooltip is a very simple solution with relatively low effort (assuming it uses some component library, which might not be the case here).
Feel free to submit a PR though, I'll be happy to review it, either way.

@HarelM HarelM changed the title Layer window-size changeable [Feature] Layer window-size changeable Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants