Labels¶
If you have a button but you can create labels with
theLabel = label(but [, text [, { xpos, ypos [, frame_relative] } [, { xoffset, yoffset } ]]] )
You can change the label’s text with
theLabel.text = “new text”;
You can change the label’s position with
theLabel.position = { xpos, ypos [, frame_relative] };
where xpos and ypos go from 0 to 1
If frame_relative is provided and nonzero, position is relative to the UIE’s frame, otherwise it’s relative to the inset rectangle.
You cann change the label’s offsets with
theLabel.offset = { xoffset, yoffset };
where xoffset and yoffset go from -1 to 1