Hello!
I am experiencing an issue inside of an application I built that is really annoying me.
I want to add a label to an already presented view. This happens but if the label text is too big, the label is presented like: “this is m…”.
Here is my code:
labelText = textfield.text
label = ui.Label(text = labelText)
label.center = (125, h)
label.flex = "w"
viewTasks.add_subview(label)
I want the label to be sized to fit whatever is necessary. I use the exact code to set up the view before it is presented and it works fine but for some reason if I’m adding to an already presented view it doesn’t want to work the same.
Any suggestions are helpful!