M MikeSimpson Member Licensed User Longtime User Sep 8, 2014 #1 How can I set the Vertical Alignment of a button to BOTTUM via code? I couldn't find a setting for it (please see screenshot) Attachments screenshot.jpg 228.7 KB · Views: 147
How can I set the Vertical Alignment of a button to BOTTUM via code? I couldn't find a setting for it (please see screenshot)
S sorex Expert Licensed User Longtime User Sep 8, 2014 #2 by code B4X: buttons(i).top=100%y-buttons(i).height edit: no wait, you meant vertical text alignment? Upvote 0
by code B4X: buttons(i).top=100%y-buttons(i).height edit: no wait, you meant vertical text alignment?
klaus Expert Licensed User Longtime User Sep 8, 2014 #3 B4X: Buttons(i).Gravity = Bit.Or(Gravity.CENTER_HORIZONTAL, Gravity.BOTTOM) Upvote 0
M MikeSimpson Member Licensed User Longtime User Sep 8, 2014 #4 Thank you Klaus, it's working. Upvote 0