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:
parent
4827c1a6ca
commit
b9cb95e93f
1 changed files with 2 additions and 1 deletions
|
@ -171,9 +171,10 @@ EmacsEditableField : EmacsWidget {
|
||||||
|
|
||||||
EmacsNumber : EmacsWidget {
|
EmacsNumber : EmacsWidget {
|
||||||
var <>action, <>spec, <value;
|
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,
|
^super.new(buffer, \number, ':tag', tag,
|
||||||
':format', "%{%t%}: %v",
|
':format', "%{%t%}: %v",
|
||||||
|
':size', size?\nil,
|
||||||
':min', spec.minval,
|
':min', spec.minval,
|
||||||
':max', spec.maxval,
|
':max', spec.maxval,
|
||||||
':action',
|
':action',
|
||||||
|
|
Loading…
Reference in a new issue