Jul 26, 2018 Replies: 3 The standard Alignment property does not work properly with multiline labels. It aligns the content based on the first line. You can use this code instead: Code: Dim jo As JavaObject = Label1 jo.RunMethod("setTextAlignment", Array("CENTER")) Click to expand...
The standard Alignment property does not work properly with multiline labels. It aligns the content based on the first line. You can use this code instead: Code: Dim jo As JavaObject = Label1 jo.RunMethod("setTextAlignment", Array("CENTER"))
R rspitzer Active Member Jun 23, 2020 #2 Thank you, that worked very well. I was wondering is there a listing of the (or a link to) of the various run methods, that I can look up for future use, so I don't have to bother anybody?
Thank you, that worked very well. I was wondering is there a listing of the (or a link to) of the various run methods, that I can look up for future use, so I don't have to bother anybody?
Erel B4X founder Staff member Licensed User Longtime User Jun 23, 2020 #3 The best suggestion I have for you is to use the forum search. It works quite good.