Alessandro71 Well-Known Member Licensed User Longtime User Jun 24, 2021 #1 I have to change the height of a B4XFloatTextField following an IME_HeightChanged event This code works, but the "X" and "checkmark" labels do not move and remain at the original location B4X: Copy Dim difference As Int = OldHeight - NewHeight B4X_Message.TextField.Height = B4X_Message.TextField.Height - difference
I have to change the height of a B4XFloatTextField following an IME_HeightChanged event This code works, but the "X" and "checkmark" labels do not move and remain at the original location B4X: Copy Dim difference As Int = OldHeight - NewHeight B4X_Message.TextField.Height = B4X_Message.TextField.Height - difference
Erel B4X founder Staff member Licensed User Longtime User Jun 25, 2021 #2 In the next version of XUI Views, Base_Resize will be a public method. For now you can use this: Code: Copy CallSub3(B4XFloatTextField1, "Base_Resize", B4XFloatTextField1.mBase.Width, B4XFloatTextField1.mBase.Height) Change the width and height of B4XFloatTextField.mBase. It will resize the other elements. Upvote 0
In the next version of XUI Views, Base_Resize will be a public method. For now you can use this: Code: Copy CallSub3(B4XFloatTextField1, "Base_Resize", B4XFloatTextField1.mBase.Width, B4XFloatTextField1.mBase.Height) Change the width and height of B4XFloatTextField.mBase. It will resize the other elements.
Alessandro71 Well-Known Member Licensed User Longtime User Jun 25, 2021 #3 This also imply that callsub can invoke private subs. interesting. Upvote 0
LucaMs Expert Licensed User Longtime User Jun 25, 2021 #4 Alessandro71 said: interesting. Click to expand... ? Upvote 0