I see where you can have a field "fit content" in the object inspector.
I would like to do this while running, and I can't seem to find an equivalent command. I'm sure I'm missing something easy
- Noel
Label - Fit Content
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Label - Fit Content
Hi noel,
not sure, but I think LC uses something like this in that button:
...
## Example to fit a button "xyz" to its loooooong label
lock screen
set the width of btn "xyz" to the formattedwidth of btn "xyz"
set the height of btn "xyz" to the formattedheight of btn "xyz"
unlock screen
...
Best
Klaus
not sure, but I think LC uses something like this in that button:
...
## Example to fit a button "xyz" to its loooooong label
lock screen
set the width of btn "xyz" to the formattedwidth of btn "xyz"
set the height of btn "xyz" to the formattedheight of btn "xyz"
unlock screen
...
Best
Klaus