UnityDynamicPanels icon indicating copy to clipboard operation
UnityDynamicPanels copied to clipboard

How to disable the header of tab without code?

Open happy505 opened this issue 4 years ago • 7 comments

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 avatar Oct 19 '21 08:10 happy505

Why did you close the Issue?

yasirkula avatar Oct 19 '21 09:10 yasirkula

because my issue's label is "bug", but it should be "need help" actually, i want to modify it, but i don not know how to do...

发自我的iPhone

------------------ Original ------------------ From: Süleyman Yasir KULA @.> Date: Tue,Oct 19,2021 5:06 PM To: yasirkula/UnityDynamicPanels @.> Cc: happy505 @.>, State change @.> Subject: Re: [yasirkula/UnityDynamicPanels] How to disable the header of tabwithout code? (Issue #15)

Why did you close the Issue?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

happy505 avatar Oct 19 '21 09:10 happy505

I reopen it, hope for your help, thanks

happy505 avatar Oct 19 '21 09:10 happy505

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

yasirkula avatar Oct 19 '21 09:10 yasirkula

just a single specific panel

happy505 avatar Oct 19 '21 09:10 happy505

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.

yasirkula avatar Oct 19 '21 11:10 yasirkula

thanks! I will try

happy505 avatar Oct 19 '21 12:10 happy505