I am trying to set width of labels at runtime.

I tried lablel1.width=Unit.Pixel(50);

and

label1.width=Unit.Point(50);

I even tried lable.controlstyle.width, but nothing seems to work for me .at runtime the width of the label seems to get truncated.can anyone tell me how it can be done successfully.