Label alignment on dialog

Login to reply to this topic.
Wed, 2006-05-10 11:36
Joined: 2003-10-21
Forum posts: 40
Hi everybody,

I can't seem to align my label in the middle of the line. I use the follwing code:

Code:
DLG_LINE
     {
     id=EDlg1Label;
     type=EEikCtLabel;
     control= LABEL
          {
          txt = "Hello world";
          vert_align=EEikLabelAlignVCenter;
          horiz_align=EEikLabelAlignHCenter;
           };
       }
I also tried to set it dynamically with SetAlignment but it didn't work.
Does anybody know how to center-align a label?

Thanks
Imzadi
  • Login to reply to this topic.