Ver 1.90 Designer Scripts - BG Color Needed
@Erel
Here is a good example of why we need Label BG color support in the Deisgner Scripts window. The attachment shows two problems, one of which would not be known unless we could set the BG of a Label to see it.
(1) The BG color shows that the label.Text Vertical_Center property is not working. The text is not centered vertically as we think it is from the setting. One might not ever know this wasn't working without the ability to set a BG color.
(2) Part of the end of the text is cut off. Yes, we can see that with or without BG color but with BG color we can easily see that the label width is not wide enough.
Note:
In my main module I added this line to center the text vertically:
but it doesn't correct it... is that the correct command to center the text vertically?
@Erel
Here is a good example of why we need Label BG color support in the Deisgner Scripts window. The attachment shows two problems, one of which would not be known unless we could set the BG of a Label to see it.
(1) The BG color shows that the label.Text Vertical_Center property is not working. The text is not centered vertically as we think it is from the setting. One might not ever know this wasn't working without the ability to set a BG color.
(2) Part of the end of the text is cut off. Yes, we can see that with or without BG color but with BG color we can easily see that the label width is not wide enough.
Note:
In my main module I added this line to center the text vertically:
B4X:
lbl_Test2.Gravity = Gravity.CENTER_VERTICAL
but it doesn't correct it... is that the correct command to center the text vertically?
Attachments
Last edited: