C
C#4mo ago
Kriven

Scaling c# win Forms

so i have a problem when i maximize my screen i get this layout , which isnt ideal cause of the unnecessary space , i wish it be the first when its maximized
No description
No description
9 Replies
HtmlCompiler
HtmlCompiler4mo ago
so you mean both resizing the manage vehicles panel and having payments button in a fixed position?
Kriven
KrivenOP4mo ago
That payment text there is a mistake.. I'm talking about if I wanna maximize the screen it should keep that same format but just full the screen ...not like the second picture it adds a whole lot of extra space @Another Painful Interface
SG97
SG974mo ago
try anchoring the datagrid to the form?
Kriven
KrivenOP4mo ago
i tried it now , but it looks wierd , maybe im using it wrong
HtmlCompiler
HtmlCompiler4mo ago
either you anchor it or you set dimensions by hand in resizing events if it's a panel there should be no weirdness and it should be essentially immediate using panels is the only way to keep this stuff in order
Kriven
KrivenOP4mo ago
Thanks ! I'll try again just now... is there any way I can screen share it too you so can assist me if I can't manage too do it ... if you have time please
HtmlCompiler
HtmlCompiler4mo ago
it was bedtime for me so i guess no
Kriven
KrivenOP4mo ago
No problem
Anburaj Marikkani
try Tablelayout control
Want results from more Discord servers?
Add your server