Touch Active Member Licensed User Longtime User Sep 7, 2014 #1 Hello everyone, How can I justify a text in a label?
mangojack Expert Licensed User Longtime User Sep 7, 2014 #2 in designer .. collapse 'Text Style' .. you will see properties for Horizontal and vertical alignment. in code .. B4X: Label1.Gravity = Gravity.Center 'center text horizontaly and verticaly See Gravity Constants .. Last edited: Sep 7, 2014 Upvote 0
in designer .. collapse 'Text Style' .. you will see properties for Horizontal and vertical alignment. in code .. B4X: Label1.Gravity = Gravity.Center 'center text horizontaly and verticaly See Gravity Constants ..
Touch Active Member Licensed User Longtime User Sep 7, 2014 #3 mangojack said: in designer .. colapse 'Text Style' .. you will see properties for Horizontal and vertical alignment. in code .. B4X: Label1.Gravity =Gravity.Centre See Gravity Constants .. I believe they also apply to labels Click to expand... Thanks mangojack, but my question was related to the distribution of the text both left and right. Upvote 0
mangojack said: in designer .. colapse 'Text Style' .. you will see properties for Horizontal and vertical alignment. in code .. B4X: Label1.Gravity =Gravity.Centre See Gravity Constants .. I believe they also apply to labels Click to expand... Thanks mangojack, but my question was related to the distribution of the text both left and right.
mangojack Expert Licensed User Longtime User Sep 7, 2014 #4 sorry .. misunderstood. have you seen THIS .. see post #5 Upvote 0