Lazarus

Programming => Operating Systems => Android => Topic started by: majid.ebru on February 24, 2017, 10:40:45 am

Title: [SOLVED] LAMW : change Text Align ??
Post 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 
Title: Re: LAMW : change Text Align ??
Post by: jmpessoa on February 25, 2017, 05:06:06 am

Please, try:

PosRelativeToParent = [rpBottom, rpLeft] ;

OR
PosRelativeToParent = [rpBottom,rpRight] ;

OR
PosRelativeToParent = [rpTop,rpRight] ;

OR
PosRelativeToParent = [rpTop,rpLeft] ;
Title: Re: LAMW : change Text Align ??
Post by: majid.ebru on February 26, 2017, 04:44:21 am

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?
Title: Re: LAMW : change Text Align ??
Post by: jmpessoa on February 26, 2017, 05:19:45 am


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

TinyPortal © 2005-2018