Hi Alain,
Seems like none of the TextAlign constants seem to work with TextFields, like Labels.
Here's my code:
in the Page...
and in BuildTheme...
Seems like none of the TextAlign constants seem to work with TextFields, like Labels.
Here's my code:
in the Page...
B4X:
Dim UserInfoLabel1 As ABMLabel
UserInfoLabel1.Initialize(page,"user_info_label_1", "First Name :", ABM.SIZE_SMALL, False, "LeftUserInfoLabel")
UserProfileFormLeftSubContainer.Cell(1,1).AddComponent(UserInfoLabel1)
and in BuildTheme...
B4X:
MyTheme.AddLabelTheme("LeftUserInfoLabel")
MyTheme.Label("LeftUserInfoLabel").Align = ABM.TEXTALIGN_RIGHT