declare ui_label $label_2 (3,6)
set_text ($label_2,"Big Label")
add_text_line ($label_2,"…with a second text line")
end on
Two labels with different sizes
on init
declare ui_label $label_1 (1,1)
set_text ($label_1,"Small Label")
hide_part ($label_1,$HIDE_PART_BG)
end on
Hide the background of a label. This is also possible with other UI elements.
See Also
add_text_line()
$CONTROL_PAR_TEXT
set_control_par_str()
Do'stlaringiz bilan baham: