M Mario Krsnic Member Licensed User Feb 16, 2021 #1 Hello everybody, if I set the label border by code or in designer in each case the label text touches the border. Is it possible to change this increasing the space between? Thanks Attachments bin.jpg 19.1 KB · Views: 362
Hello everybody, if I set the label border by code or in designer in each case the label text touches the border. Is it possible to change this increasing the space between? Thanks
M Mahares Expert Licensed User Longtime User Feb 16, 2021 #2 Mario Krsnic said: designer in each case the label text touches the border. Is it possible to change this increasing the space between? Click to expand... you can change the padding property in the designer of the edittext or label in question . The dropdown allows you to change the left, top, right and bottom spacing Upvote 0
Mario Krsnic said: designer in each case the label text touches the border. Is it possible to change this increasing the space between? Click to expand... you can change the padding property in the designer of the edittext or label in question . The dropdown allows you to change the left, top, right and bottom spacing
M Mario Krsnic Member Licensed User Feb 16, 2021 #3 Ooooooooooooooo, so easy! Thank you very much, Mahares, for your fast help!! Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 16, 2021 #4 Another option, relevant for cross platform layouts, is to put the label in a panel and make the label transparent. Upvote 0
Another option, relevant for cross platform layouts, is to put the label in a panel and make the label transparent.
M Mario Krsnic Member Licensed User Feb 16, 2021 #5 Erel said: Another option, relevant for cross platform layouts, is to put the label in a panel and make the label transparent. Click to expand... Thank you, Erel! Yes I considered this possibility, I could have done it this way, but in the actual context it is easier and simplier to perfom the task setting padding values. Upvote 0
Erel said: Another option, relevant for cross platform layouts, is to put the label in a panel and make the label transparent. Click to expand... Thank you, Erel! Yes I considered this possibility, I could have done it this way, but in the actual context it is easier and simplier to perfom the task setting padding values.