committed the patch for Emacs number box size as submitted by Olaf, aka sh0099

git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8920 a380766d-ff14-0410-b294-a243070f3f08
This commit is contained in:
Marije Baalman 2009-03-12 23:06:06 +00:00
parent 4827c1a6ca
commit b9cb95e93f

View file

@ -171,9 +171,10 @@ EmacsEditableField : EmacsWidget {
EmacsNumber : EmacsWidget {
var <>action, <>spec, <value;
*new {|buffer, tag, spec, action, value=0|
*new {|buffer, tag, spec, action, value=0,size=10|
^super.new(buffer, \number, ':tag', tag,
':format', "%{%t%}: %v",
':size', size?\nil,
':min', spec.minval,
':max', spec.maxval,
':action',