Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello everybody, i have a problem with SuperTabControl (Dotnetbar). how to make, when i click add new tab, the tab auto resize, same tab of google chomre.

In my project, i have 6 SuperTabItem, when i click ad new tab, i don't see SuperTabItem 7, please help me
Posted
Comments
Afzaal Ahmad Zeeshan 5-Jul-15 4:15am    
You need to count the tabs and then divide them on the provided client-area of your application.

Sadly, you are going to do that all by yourself. But, as a tip I would say that you need to handle the Window Resize event also; to change the layout. Do not use pixel-perfect resolution. Try to use percentages, so that Windows renders the layout on itself.
Đăng Khoa 5-Jul-15 4:30am    
this is my project, can you fix it or make a example, please :)
https://onedrive.live.com/?id=6D9E9AB7E3974ADC%21107&cid=6D9E9AB7E3974ADC&group=0

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900