C
C#3mo 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
Omnissiah
Omnissiah3mo ago
so you mean both resizing the manage vehicles panel and having payments button in a fixed position?
Kriven
KrivenOP3mo 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
SG973mo ago
try anchoring the datagrid to the form?
Kriven
KrivenOP3mo ago
i tried it now , but it looks wierd , maybe im using it wrong
Omnissiah
Omnissiah3mo 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
KrivenOP3mo 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
Omnissiah
Omnissiah3mo ago
it was bedtime for me so i guess no
Kriven
KrivenOP3mo ago
No problem
Anburaj Marikkani
try Tablelayout control
Want results from more Discord servers?
Add your server