S samannnn Member Sep 25, 2020 #1 Could any one help me? I want to increase lable width automatically with string lengths. For example i have lable with 5%x width. When lable text is "B4A", lable width 5%x, lable text is "b4awelcome", lable size raise to 15%x. Attachments Screenshot_20200925_164748.jpg 118.3 KB · Views: 97
Could any one help me? I want to increase lable width automatically with string lengths. For example i have lable with 5%x width. When lable text is "B4A", lable width 5%x, lable text is "b4awelcome", lable size raise to 15%x.
Erel B4X founder Staff member Licensed User Longtime User Sep 27, 2020 #2 You can use B4XCanvas.MeasureText to measure the required width. Upvote 0