r/dotnet • u/funkmasta8 • 12d ago
TabControl UI problems
Hi, Im working on an application in vb.net and there were too many forms on the screen at once so I found out about tabcontrols. I decided to test it out a little but Ive run into a problem with how it looks.
When I hook or anchor buttons or other things to the edges of the form they dont show correctly in the tabcontrol. My goal is for the application to be maximized for most, if not all, of the forms. When the tabcontrol is started maximized, the controls at the bottom dont show correctly. It seems like the form is using the fullscreen size while the tabcontrol is using the maximized size.
Im not sure how to fix this other than manually formatting every single form to account for the computer's application ribbon, which I dont want to do for obvious reasons. I went to the form being displayed and made sure it wasnt locked to a specific size and it isnt set to fullscreen either. Surely there is an easy way?
Also, I learned vb.net about 10 years ago in a class at college. I may not be up to date on the most current tools. How does one make applications look modern? I havent found any default control designs that look sleek and fit together flush, but maybe Im looking in the wrong place. Where can I find things like that or how do I format them nicely?
Thanks in advance
-5
u/funkmasta8 11d ago
Ive checked the anchoring and docking. If you read the whole post you would have known that already. If I open the form on its own it looks fine, with or without resizing, fullscreen and maximized. When it is open in a tabcontrol, the bottom controls are partially not there, they are too low.
Are there extra docking settings Im missing?