t2-mapper/docs/base/@vl2/scripts.vl2/gui/TSShowEditScale.gui
2025-09-11 16:56:30 -07:00

41 lines
1.1 KiB
Plaintext

//--- OBJECT WRITE BEGIN ---
new GuiControl(TSShowEditScale)
{
profile = "GuiDefaultProfile";
new GuiWindowCtrl()
{
profile = "GuiWindowProfile";
position = "100 100";
extent = "180 100";
text = "Edit Scale";
new GuiTextEditCtrl(showScale)
{
profile = "GuiTextEditProfile";
position = "80 20";
extent = "50 20";
altCommand = "showSetScale(threadList.getValue(),showScale.getValue()); Canvas.popDialog(TSShowEditScale);";
};
new GuiButtonCtrl ()
{
profile = "GuiButtonProfile";
position = "20 50";
extent = "60 20";
text = "Ok";
command = "showSetScale(threadList.getValue(),showScale.getValue()); Canvas.popDialog(TSShowEditScale);";
};
new GuiButtonCtrl ()
{
profile = "GuiButtonProfile";
position = "110 50";
extent = "60 20";
text = "Cancel";
command = "Canvas.popDialog(TSShowEditScale);";
};
};
};
//--- OBJECT WRITE END ---