Lazarus
Programming => Operating Systems => Android => Topic started by: majid.ebru on February 24, 2017, 10:40:45 am
-
Hi
i create new project.
i put one jTextView in form.
i change these property of jTextView :
PosRelativeToParent = [rpBottom,rpTop,rpLeft,rpRight] ;
.
.
i think the default text align is Top , Left .
how can change text align like top right or bottom left or bottom right or middle left or .....?
thanks
-
Please, try:
PosRelativeToParent = [rpBottom, rpLeft] ;
OR
PosRelativeToParent = [rpBottom,rpRight] ;
OR
PosRelativeToParent = [rpTop,rpRight] ;
OR
PosRelativeToParent = [rpTop,rpLeft] ;
-
Please, try:
PosRelativeToParent = [rpBottom, rpLeft] ;
OR
PosRelativeToParent = [rpBottom,rpRight] ;
OR
PosRelativeToParent = [rpTop,rpRight] ;
OR
PosRelativeToParent = [rpTop,rpLeft] ;
with these property , i just can set "Position" of component and i can't change align of Contents?
-
Please, select/click a jTextView and go to "Object Inspector"
and configure the property "Alignment" to:
taLeft, or
taRight, or
taTop, or
taBottom, or
taCenter, or
taCenterHorizontal, or
taCenterVertical