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

How to disable the header of tab without code? #15

Open
happy505 opened this issue Oct 19, 2021 · 7 comments
Open

How to disable the header of tab without code? #15

happy505 opened this issue Oct 19, 2021 · 7 comments

Comments

@happy505
Copy link

There are two tabs in my docked panel, I want to disable the header of each tab or forbid it to generate, how can I achieve this without code? thanks a lot!

@happy505 happy505 added the bug Something isn't working label Oct 19, 2021
@yasirkula
Copy link
Owner

Why did you close the Issue?

@happy505
Copy link
Author

happy505 commented Oct 19, 2021 via email

@happy505 happy505 reopened this Oct 19, 2021
@happy505
Copy link
Author

I reopen it, hope for your help, thanks

@yasirkula yasirkula removed the bug Something isn't working label Oct 19, 2021
@yasirkula
Copy link
Owner

Is this something you want for all your panels in your project or only a single specific panel?

@happy505
Copy link
Author

just a single specific panel

@yasirkula
Copy link
Owner

You'll have to write some code in that case. You'll need to deactivate the panel's PanelHeader child object. Then, you'll need to resize its Content child object manually so that there is no padding left at the top. I don't know what sorts of issues this will cause while dragging other tabs over to that panel because DynamicPanels wasn't designed with this kind of usage in mind.

@happy505
Copy link
Author

thanks! I will try

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