Android Question Label value

Arturs

Member
Licensed User
Longtime User
Hi

I have the following code:

Sub SeekBar1_ValueChanged (Value As Int, UserChanged As Boolean)

result.Text = ((Value+400)/100)

End Sub

In the label I have result 4.1 ; 4.11 ; 4.12 so It is OK but I need to display 4.10 instead of 4.1.

How to do it ?


Regards
Artur
 

Arturs

Member
Licensed User
Longtime User
I use B4A 5.20 trial version.

Result is the same 4.1 ; 4.11 ; 4.12 instead of 4.10 ; 4,11 ; 4,12.
 
Upvote 0

Arturs

Member
Licensed User
Longtime User
It works :)

Why 50 is the maximum size of text in the label 50
I need much bigger characters.
I would like to display text 1.00 but size should be at least 100.
 
Upvote 0

James Chamblin

Active Member
Licensed User
Longtime User
50 is the maximum for the designer. Once the layout is loaded in the app, you can change the size by using Result.TextSize = 100
 
Upvote 0
Top