leocb / MaterialSkin

Theming .NET WinForms, C# or VB.Net, to Google's Material Design Principles.
MIT License
437 stars 132 forks source link

Removing tab pages #317

Open merco opened 2 years ago

merco commented 2 years ago

I had to remove pages during execution... and put them back...

but _drawerItemRects seems to be dirty

preProcessIcons

immagine

TheDomo commented 2 years ago

I had the same problems like you. I modfied the following things:

MaterialDrawer.cs image

MaterialForm.cs image

And call it from the Form: image

Maybe it will not the best solution but it works perfectly with correct possition and all icons.