Click here to Skip to main content
15,891,629 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have an application that is running well in 1400*1050 and higher screen resolution but when I view this application then it is not showing properly means(textbox texts are showing partially) and not getting proper look and feel.

Please help.

Thanks & Regards

Mohd Wasif
Posted
Comments
[no name] 13-Jul-12 9:42am    
I am not sure what you need help with. Use the layout components properly to get the look and feel that you need.

1 solution

Put your controls inside a Grid element. Then use RowsDefinitions and ColumnDefinitions with Height and/or Width sets to Auto and *.

Example:
XML
<Grid>
       <Grid.RowDefinitions>
             <RowDefinition Height="Auto" />
             <RowDefinition Height="Auto" />
             <RowDefinition Height="*" />
       </Grid.RowDefinitions>
       <Grid.ColumnDefinitions>
             <ColumnDefinition Width="*" />
             <ColumnDefinition Width="Auto" />  
       </Grid.ColumnDefinitions>

I recommend use of Auto for all controls except the bigger (a GridView, for example) that must use * for complete screen resolution.

Hope its helps.
 
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