Labels $+ html.Snippet( "gui/snippets/input-combo", "name='set_label_content'", "items= %Atom Names%<-l; %Crystallographic Occupancy%<-o; %Chemical Occupancy%<-co; %Parts%<-p;%Link-Code%<-v; %Fixed Parameters%<-f; Chirality<-ch; Charge<-c; Variables<-v; AFIX Commands<-h a; Q Peak Intensities<-qi; Ueq<-u; Label + residue number<-l rn; Residue numbers<-rn; Residue class<-rc; SAME group<-sm; ", "value=", "onchange=spy.ChooseLabelContent(html.GetValue('~name~'))", "onchangealways=true", ) $- $+ html.Snippet("gui/snippets/input-checkbox", "name=label_h", "value='Label H'", "checked=GetVar('olex2.label_h','false')", "onclick=SetVar('olex2.label_h',html.GetState(~name~))") $- $+ html.Snippet("gui/snippets/input-checkbox", "name=labelih", "value='No symm'", "checked=GetVar('olex2.label_i','false')", "onclick=SetVar('olex2.label_i',html.GetState(~name~))") $- $+ html.Snippet(GetVar(default_link), "value=Hide", "onclick=labels false" ) $- $spy.MakeHoverButton('toolbar-QC','name \$Q C') $spy.MakeHoverButton('toolbar-QH','name \$Q H') $spy.MakeHoverButton('toolbar-tidy','clean') $spy.MakeHoverButton('toolbar-killH','kill \$H') $spy.MakeHoverButton('toolbar-Q','showQ') $spy.MakeHoverButton('toolbar-H','showH') $spy.MakeHoverButton('toolbar-center','compaq>>compaq -a>>center') Z'= $+ html.Snippet( "gui/snippets/input-text", "name=SET_Z_PRIME_FIXUNIT", "value=xf.au.GetZprime()", "onleave=spy.gui.get_Z_prime_from_fraction(html.GetValue(~name~))>>html.update" ) $- $spy.MakeHoverButton('toolbar-OK',"fixunit html.GetValue('SET_Z_PRIME_FIXUNIT')>>xf.au.SetZprime(html.GetValue('SET_Z_PRIME_FIXUNIT'))>>html.Update") $+ html.Snippet(GetVar(default_link), "value=Fix all", "onclick=spy.gui.FixFree(fix all)", )$- $+ html.Snippet(GetVar(default_link), "value=AFIX", "onclick=spy.gui.FixFree(AFIX)", )$- $+ html.Snippet(GetVar(default_link), "value=Free XYZ", "onclick=spy.gui.FixFree(free xyz)", )$- $+ html.Snippet(GetVar(default_link), "value=Free ADP", "onclick=spy.gui.FixFree(free adp)", )$- $+ html.Snippet(GetVar(default_link), "value=Free H XYZ", "onclick=spy.gui.FixFree(free H xyz)", )$- $+ html.Snippet(GetVar(default_link), "value=Free H ADP", "onclick=spy.gui.FixFree(free H Uiso)", )$-