aboutsummaryrefslogtreecommitdiffstats
path: root/ext/tk/sample/scrollframe.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
commit3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b (patch)
treec4a278220ba8141b829c5c7b0777c1049cfe413c /ext/tk/sample/scrollframe.rb
parent39da1b63699faf30c86e753e193c29b81b16136d (diff)
downloadruby-3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b.tar.gz
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample/scrollframe.rb')
-rw-r--r--ext/tk/sample/scrollframe.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/sample/scrollframe.rb b/ext/tk/sample/scrollframe.rb
index 6a9381d465..e340e1da3c 100644
--- a/ext/tk/sample/scrollframe.rb
+++ b/ext/tk/sample/scrollframe.rb
@@ -209,7 +209,7 @@ end
# test
if __FILE__ == $0
- f = Tk::RbWidget::ScrollFrame.new(:scrollbarwidth=>10,
+ f = Tk::RbWidget::ScrollFrame.new(:scrollbarwidth=>10,
:width=>300, :height=>200)
f.pack(:expand=>true, :fill=>:both)
@@ -234,13 +234,13 @@ if __FILE__ == $0
# remove a vertical scrollbar, and then the scrollframe is not scrollable.
Tk.after(6000){ f.vscroll(false) }
- # add a vertical scrollbar, and make the scrollframe scrollable.
+ # add a vertical scrollbar, and make the scrollframe scrollable.
Tk.after(9000){ f.vscroll(true) }
# remove a horizontal scrollbar, and then the scrollframe is not scrollable.
Tk.after(12000){ f.hscroll(false) }
- # add a horizontal scrollbar, and make the scrollframe scrollable.
+ # add a horizontal scrollbar, and make the scrollframe scrollable.
Tk.after(15000){ f.hscroll(true) }
Tk.mainloop