Alhootti Active Member Feb 12, 2024 #1 Hello everybody, I use a RoundSlider in my program. With SetTextAlignment I want to center the font. B4X: RoundSlider1.mBase.SetTextAlignment("CENTER", "CENTER") An error occurs when starting the program
Hello everybody, I use a RoundSlider in my program. With SetTextAlignment I want to center the font. B4X: RoundSlider1.mBase.SetTextAlignment("CENTER", "CENTER") An error occurs when starting the program
Alhootti Active Member Feb 12, 2024 #2 The following code without Error but there is no effect at all B4X: RoundSlider1.mBase.GetView(0).SetTextAlignment("CENTER", "CENTER") Upvote 0
The following code without Error but there is no effect at all B4X: RoundSlider1.mBase.GetView(0).SetTextAlignment("CENTER", "CENTER")
Erel B4X founder Staff member Licensed User Longtime User Feb 13, 2024 #3 Alhootti said: An error occurs when starting the program Click to expand... Tell us the error. It will be easier to help you. The label is already centered. See the source code inside XUI Views.b4xlib (it is a zip file). Upvote 0
Alhootti said: An error occurs when starting the program Click to expand... Tell us the error. It will be easier to help you. The label is already centered. See the source code inside XUI Views.b4xlib (it is a zip file).
Alhootti Active Member Feb 13, 2024 #4 The Error is solved by using the last code but there is no change take place when i increase size of text Upvote 0
The Error is solved by using the last code but there is no change take place when i increase size of text
Erel B4X founder Staff member Licensed User Longtime User Feb 13, 2024 #6 You will need to debug it. I guess that the label itself isn't centered and you need to move it to the correct position. Upvote 0
You will need to debug it. I guess that the label itself isn't centered and you need to move it to the correct position.