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 request] tabs: vertical layout #595

Closed
eviltik opened this issue Dec 26, 2023 · 4 comments
Closed

[feature request] tabs: vertical layout #595

eviltik opened this issue Dec 26, 2023 · 4 comments

Comments

@eviltik
Copy link

eviltik commented Dec 26, 2023

Hi again

This is blender
image

As you can see, we have vertical tabs with icon (and/or vertical text ?)

It should be great to be able to make the same layout with tweakpane :)

For icons, see #594

@eviltik eviltik changed the title tabs: vertical layout [feature request] tabs: vertical layout Dec 26, 2023
@cocopon
Copy link
Owner

cocopon commented Dec 27, 2023

Hi! I think this kind of component should be handled by the plugin system. It's possible to create a plugin that provides a container component like a folder and a tab.

@eviltik
Copy link
Author

eviltik commented Dec 27, 2023

It should be great to have it by default in tweakpane rather than a plugin, but it's my point of view.

Wondering if it can not be solve just with specific css.

I'll try to go deeper for a plugin (but i'm limited, i stay sticked with vanilliajs for years, and it seem's that plugins are typescript)

@cocopon
Copy link
Owner

cocopon commented Dec 27, 2023

It should be great to have it by default in tweakpane rather than a plugin

Built-in Tweakpane components are arranged in stacked rows. Tweakpane calls them as "blade", and the vertical tab seems different from this setup.

image

https://tweakpane.github.io/docs/quick-tour/#blades

I think this kind of complex components should not be included in the standard components.

Wondering if it can not be solve just with specific css.

It seems difficult based on my experience. (e.g. height calculation, layout with text tab, etc...)

@eviltik
Copy link
Author

eviltik commented Dec 28, 2023

I see, thank you !

@eviltik eviltik closed this as completed Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants