weird resizing of label

Hi,

How come the datagrid moves down when we place a text value in a label ?

________________
l                           l
l          textbox       l
l             label       l                    
l          datagrid     l  <-----------------the datagrid moves one step down when i place "asdfg" to label
l                           l                          initially the label has no value (i've set label to font size 1 by click the object)
l                           l
-----------------------

Please kindly guide me to stop the datagrid from moving.

Thanks.
LVL 1
lynntonAsked:
Who is Participating?
 
thrill_houseConnect With a Mentor Commented:
When a label has no contents, it has no height.  Once it has contents it has a height.  What I suggest is that you use a table, and set the height of the row, therefore the height will not be adjusted once contents are placed in the label.
0
 
lynntonAuthor Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.