B4i Question Center aligning custom labels with significant trailing blanks - non-breaking blanks? - JackKirk    May 14, 2017
I need to center align a custom label that has trailing blank(s), the trailing blank(s) being significant.
Googling, it would appear that I should substitute blanks for non-breaking blanks...
B4A Question B4XDialog Center Text Alignment - Alexander Stolte    Aug 15, 2019
how can i center the Text Alignment of the normal dialog.show?
B4J Question Why Can't CENTER ALIGNMENT center multi-line text? - Erel (first post)    Apr 1, 2021   (1 reaction)
Check BBLabel or BBCodeView...
B4A Code Snippet Center Align Spinner Text: 95% perfect workaround - vascofire    Jan 2, 2021   (3 reactions)
So far it's known that we can't center align a spinner text. What I'm sharing now is a workaround that doesn't a perfect alignment but at least minimises the problem. The trick is changing the spinner left padding based on the item(text) width. The text is measured using Canvas. X is the item text width. Left is the left padding. The number 10 in the formula was used to adjust... Measure_And_SetPadding(Spinner1.GetItem(0)) 'Align the first item (case it will always be the first to...
B4A Question B4XComboBox Center align - mangojack (first post)    Oct 19, 2020   (1 reaction)
B4XComboBox is based on Spinner view . From what I have read it is not possible to change text alignment....
B4A Question CircularProgressBar align center problem - Brandsum    Jan 22, 2019
There is a problem in this XUI custom view. When I set HorizontalAnchor and VerticalAnchor to both sides to place it in the center in designer window, I'm getting this error while loading...
B4A Question xCustomListView Text center align - Erel (first post)    Oct 23, 2019
Should i do something like
myClv.DesignerLabel.Gravity = Bit.Or(Gravity.CENTER_VERTICAL, Gravity.Center)
and the gravity of the label when addind clv.addTextItem(MyText,myValue) will change before...
B4A Question B4XDialog Center alignment - Erel (first post)    Mar 7, 2019
1. Please use code here... tags when posting code.
2. As I wrote above, B4XInputTemplate sets PutAtT...
B4A Question How to set a label created in code to centered text alignment? - Troberg    Mar 27, 2015
I create a label in code, and add it using AddView. Most settings I can set through code, but I can't find how to set the text to centered alignment.
Is it possible?
Dim lblName As Label
lblName.Text = Main.Glob.DisplayName
lblName.TextSize = 24...
B4J Question Label text alignment with (Center) - jahswant    Jul 25, 2018
I'm getting text not centered in my Label in b4j while in b4A and B4i the text are centered very well. What's the best option ?
This is the font init code.
lblEmpty2.Font = fx.LoadFont(File.DirAssets,"courier-new.ttf", 10)...
Page: 1   2   3   4   5   6   7