IgnaceMaes / MaterialSkin

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

MaterialTabPage BUG #125

Open SkyEngine-OSP opened 8 years ago

SkyEngine-OSP commented 8 years ago

i noticed that the Material Tab Page Control, for some reason shifts.

notice that the two buttons have equal space on left and right part of the form. they also have just enough space between the progress bar beneath them. but when the form is ran, the right button shifts to the left, and both button shifts up, you can easily notice the difference while in the UI Designer

see links for image references:

http://i.imgur.com/pAUjHEP.png http://i.imgur.com/XNPEStc.png

IgnaceMaes commented 8 years ago

This is a known issue. What is happening is that MaterialSkin hides the original tab headers from the default TabControl.

Because at runtime the original tabs are being hidden, the TabPage containing the controls is moved up.

As far as I experimented it wasn't possible to hide the original tab headers in the designer. One solution would be recreating a whole TabControl so the tab headers aren't there in the first place.