• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 202
  • Last Modified:

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.
0
lynnton
Asked:
lynnton
1 Solution
 
thrill_houseCommented:
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now