# Template copsequence

PSI_TOKEN.vbar =  SCROLLBAR LAYOUT(vertical) STRETCH(0, 1) SCROLLVALUE(PSI_TOKEN.vs);

PSI_TOKEN.gad = 
{
    LAYOUT(vertical) STRETCH(1,1)
    LOOK(plain)

    {
	LAYOUT(horizontal%) MARGIN(0.02, 0.02) SIZE(0, 0.4) STRETCH(1, 0)

	{ SIZE(WIDTH(PSI_TOKEN.vbar) + 0.20, 0) }	# Scrollbar + Icon
	{ LOOKTEXT(light, "Name") SIZE(1.2, 0) }
	{
	    LAYOUT(horizontal) STRETCH(1, 0)

	    { LOOKTEXT(light, "Input Start") SIZE(0.4, 0) }
	    { STRETCH(1,0) }
	    { LOOKTEXT(light, "Input End", right)   SIZE(0.4, 0) }
	}
	{ LOOKTEXT(light, "Start",  right) SIZE(0.5, 0) }
	{ LOOKTEXT(light, "Length", right) SIZE(0.5, 0) }
	{ SIZE(0.2, 0) }
    }

    {
	LAYOUT(horizontal) STRETCH(1, 1)

	PSI_TOKEN.seq = SCROLLREGION
	{
	    SCROLLVALUE(PSI_TOKEN.vh, PSI_TOKEN.vs)
	    LAYOUT(vertical) SIZE(0, 1.5) STRETCH(1, 1)
	    LOOK(line) MARGIN(0.02, 0.0)
	}
	PSI_TOKEN.vbar SIZE(0.125, 0);
    }
}

