summaryrefslogtreecommitdiff
path: root/ext/tk/sample/demos-en/hscale.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/sample/demos-en/hscale.rb')
-rw-r--r--ext/tk/sample/demos-en/hscale.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/demos-en/hscale.rb b/ext/tk/sample/demos-en/hscale.rb
index 14e395b61a..743c4b4852 100644
--- a/ext/tk/sample/demos-en/hscale.rb
+++ b/ext/tk/sample/demos-en/hscale.rb
@@ -62,7 +62,6 @@ TkFrame.new($hscale_demo) {|frame|
scale.set 75
}.pack('side'=>'top', 'fill'=>'x')
-
def setWidth(w, width)
width = width + 21
x2 = width - 30
@@ -72,3 +71,4 @@ def setWidth(w, width)
w.coords 'poly',20,15,20,35,x2,35,x2,45,width,25,x2,5,x2,15,20,15
w.coords 'line',20,15,20,35,x2,35,x2,45,width,25,x2,5,x2,15,20,15
end
+