andredamen Active Member Licensed User Longtime User Aug 7, 2021 #1 Is it so that padding doesn't work correct in B4XFloatTextField? I don't see that caracters anymore when padding on the left.
Is it so that padding doesn't work correct in B4XFloatTextField? I don't see that caracters anymore when padding on the left.
M MikeSW17 Active Member Licensed User Longtime User Aug 7, 2021 #2 Post some sample code to demonstrate please. Ideally a small demo project. Last edited: Aug 7, 2021 Upvote 0
TILogistic Expert Licensed User Longtime User Aug 7, 2021 #3 andredamen said: Is it so that padding doesn't work correct in B4XFloatTextField? I don't see that caracters anymore when padding on the left. Click to expand... B4X: Dim edt As EditText = FloatTextField.TextField edt.Padding = Array As Int (10dip, 0dip, 0dip, 0dip) 'Left margin 10dip Upvote 0
andredamen said: Is it so that padding doesn't work correct in B4XFloatTextField? I don't see that caracters anymore when padding on the left. Click to expand... B4X: Dim edt As EditText = FloatTextField.TextField edt.Padding = Array As Int (10dip, 0dip, 0dip, 0dip) 'Left margin 10dip
andredamen Active Member Licensed User Longtime User Aug 7, 2021 #4 Oparra, I set the padding in the designer. In a normal edit-textfield the padding works fine, but in the B4XFloatTextField in the padding part of the field there are no characters while the sentence is under it. You don't see the full text anymore. Upvote 0
Oparra, I set the padding in the designer. In a normal edit-textfield the padding works fine, but in the B4XFloatTextField in the padding part of the field there are no characters while the sentence is under it. You don't see the full text anymore.
Erel B4X founder Staff member Licensed User Longtime User Aug 8, 2021 #5 You will need to do it programmatically as in the above post. Upvote 0
andredamen Active Member Licensed User Longtime User Aug 10, 2021 #6 Okay. Thank you. Now it works. Upvote 0