![]() |
![]() |
macro to create UItext widget with label
ilink UIparent;
ilink slabel;
ilink stext;
UIpanel panel {
parent => UIparent;
width = 200;
height => <-.text.height;
};
UIlabel text_label {
parent => panel;
label => slabel;
alignment = 2;
x = 0;
y = (<-.tex.height - .height) / 2;
width = 50;
};
UItext text {
parent => panel;
&text => stext;
x = 60;
y = 0;
width => <-.panel.width - 60;
};
};
UItextTypein is a macro that creates a UItext widget that already includes a UIlabel and an enclosing UIpanel.
An input port to connecte to the parent widget that contains the UItextTypein.
An input port to connect to a string object that names the UItextTypein.
An input port to connect to a string object that defines the text to display in the UItext widget.
Graphics_Display.Editors.UI_Editors.TrackEdit
v/view.v
UItext
![]() |
![]() |