Click here to Skip to main content
15,878,748 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi
My project is in wpf mvvm and currently i am facing a issue. I have a screen in which i have treeview, button, combobox textbox and datagrid controls.
Everythin works fine on first use but when i resize the main window all my controls shrink and become very small when i maximize the screen.

i am using grid for layout and this grid has 4 rows 1,3,4 are given the size auto while 2nd row has a * size.
the datagrid is in second row.
Posted
Comments
Sergey Alexandrovich Kryukov 26-Jun-14 2:08am    
Without some code sample, it's impossible to find out how you screwed up the layout. Read on the WPF layout; this is a pretty big topic.
—SA

1 solution

Please see my comment to the question. Learn about WPF layout: http://wpftutorial.net/LayoutProperties.html[^].

It's hardly possible to advise you something more specific based on your information.

—SA
 
Share this answer
 

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