Hi all,
I am having a view architecture application in c++.
How to align label on dialog to left, centre, right ?
Hi all,
I am having a view architecture application in c++.
How to align label on dialog to left, centre, right ?
There are flags horiz_align and vert_align. For set horiz_align, you can set it to EHLeft, EHCenter or EHRight.
Antony
I have tried with the following, not success at all, still display with a left aligned label.
Is that some kind of bug in Symbian ????
DLG_LINE {
id=ECallDlgLabelStatus;
type = EEikCtLabel; // aus uikon.hrh
control = LABEL {
horiz_align=EEikLabelAlignHCenter;
txt="Test";
};
Hi everybody,
I have the same problem with my label. I tried to change it both in the RESOURCE and with SetAligment but it didn't work.
Is that a S60 bug or am I doing somkething wrong?
BTW, alignment works well with IMAGE.
Imzadi
The methods
work for me on S60_3rd_MR, but I am not using a dialog.Code:CEikLabel::SetAlignment( EHRightVTop ); CEikLabel::SetAlignment( EHLeftVTop ); CEikLabel::SetAlignment( EHRightVCenter );
I don't know if this info is useful, when using dialogs.
- Jyrki