B4A Question Spinners and extra large font size Scale - aaronk    
Nov 23, 2016   
(1 reaction) my layout before ResetUserFontScale(Activity) is called.
Sub Process_Globals
Dim access...)
ResetUserFontScale(Activity)
End Sub
Sub ResetUserFontScale(p As Panel)
For Each v As View In p
If v Is Panel Then
ResetUserFontScale(v)
Else If v Is Label Then
Dim lbl As Label = v
lbl.TextSize = lbl.TextSize / access.GetUserFontScale
Else If v Is Spinner Then
Dim s As Spinner = v
s.TextSize = s.TextSize / access.GetUserFontScale
End If
Next
End Sub...
B4A Question Characters out of their frame - Alessandro71 (first post)    
Mar 10, 2024you have to call ResetUserFontScale after LoadLayout, with the root panel as parameter...
link:
you have to call ResetUserFontScale after LoadLayout, with the root panel as parameter...
link: As Boolean)
ResetUserFontScale(Activity)
Activity.LoadLayout("Params")
End Sub
Sub...
link: As Accessiblity
End Sub
'reset all fonts in a panel
Sub ResetUserFontScale(p As Panel...
Spanish B4A - MANTENER TAMAÑO LETRA ESTABLECIDA EN EL DISEÑO DE LA APP - pcicom (first post)    
Jun 30, 2022   
(1 reaction)No se si el siguiente codigo te sirva..
Sub ResetUserFontScale(p As Panel)
For Each v As View In p
If v Is Panel Then
ResetUserFontScale(v)
Else If v Is Label Then
Dim lbl As Label = v
lbl.TextSize = lbl.TextSize / access.GetUserFontScale... / access.GetUserFontScale
End If
Next
End Sub
...
link: , que estoy haciendo mal? O es que no se puede hacer para ListView?:
Sub ResetUserFontScale(p...
B4A Question Ignore the set system font size - Erel (first post)    
Dec 1, 2021   
(1 reaction)Check ResetUserFontScale: https://www.b4x.com/android/forum/threads/spinners-and-extra-large-font-size-scale.73374/#content...
B4A Question Prevent text zoom - Erel (first post)    
Feb 16, 2022You can call ResetUserFontScale: https://www.b4x.com/android/forum/threads/spinners-and-extra-large-font-size-scale.73374/#content
It is probably a mistake as the user choose to increase the text...
link: .
However i'm experimenting some issues.
The code i use is this:
Sub ResetUserFontScale(p...
link:
You can call ResetUserFontScale: https://www.b4x.com/android/forum/threads/spinners-and-extra...
link: the AutoTextSizeLabel tag
Sub ResetUserFontScale(p As Panel)
For Each v As B4XView In p...
B4A Question scale and userfontscale - Erel (first post)    
Mar 6, 2022This question comes up quite often. There is no general switch to ignore the user setting and it also doesn't make too much sense to ignore it as the user has likely changed this setting for a reason.
There is a sub that I wrote that compensates for this setting, for some of the views: https://www.b4x.com/android/forum/pages/results/?query=ResetUserFontScale...
B4A Question CS Builder and text sizes wierd behavior - Erel (first post)    
Jun 25, 2020It is a mistake in most cases. If the user wants an increased text size then you should probably respect his/her choice.
Anyway, search for ResetUserFontScale....
B4A Question Can one make b4a Logs window keep more Bridgelogger loglines - vikingivesterled    
Oct 21, 2021The buffer is too small and it deletes older loglines.
Since there is some sort of a loop on starting the app the Bridgelogger logs fills up with:
at mobi.moonc.appname.main._resetuserfontscale(main.java:1621)
I need to set it so I can see more log lines to see what caused it.
Can't find it in the .ini fil...
B4A Question Problem: Textsize in xCustomListView-Labels do not always fit - awama (first post)    
Jun 10, 2018Thank you Erel.
Yesterday I found also the solution "... call ResetUserFontScale on each of the items".
I do this in the
Sub CLV_VisibleRangedChanged(FirstIndex as Int, LastIndex as Int)
....
Dim p AS B4XView = CLV1.GetPanel(i)
...
p.Load Layout("Card1")
ResetUserFontScale(p...
link: .
Another option is to call ResetUserFontScale on each of the items....
link: .
The example with ResetUserFontScale does not seem to work.
Can anybody help me further? Thank you in...
B4A Question GUI text hight problem - Erel (first post)    
Jan 23, 2019   
(2 reactions)Android has an accessibility option to increase the text size
You can reset the font sizes with the ResetUserFontScale sub from the post above....
link: be corrected manually.
ResetUserFontScale(Activity)
xxx.TextSize=xxx.TextSize / access.GetUserFontScale...
Page: 1  
2  
3  
4  
5  
6  
7