diff options
author | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-27 09:57:21 +0000 |
---|---|---|
committer | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-27 09:57:21 +0000 |
commit | 73a37eb3256862c17b77aa0ee1590933e051b7c3 (patch) | |
tree | 9c170e584d31262d1f9030eb402827ad09e5472b /ext/tk/sample/scrollframe.rb | |
parent | 98e3c058fa42fdcc2a6e0a24b47786dcaf808ec8 (diff) |
Documentation typos
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample/scrollframe.rb')
-rw-r--r-- | ext/tk/sample/scrollframe.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/sample/scrollframe.rb b/ext/tk/sample/scrollframe.rb index fda4478055..346f88aadd 100644 --- a/ext/tk/sample/scrollframe.rb +++ b/ext/tk/sample/scrollframe.rb @@ -7,8 +7,8 @@ # When it is configured, scrollregion of the container is changed. # # Scrollbars can be toggled by Tk::RbWidget::ScrollFrame#vscroll & hscroll. -# If horizontal or virtical scrollbar is turned off, the horizontal -# or virtical size of embedded widgets is propagated. +# If horizontal or vertical scrollbar is turned off, the horizontal +# or vertical size of embedded widgets is propagated. # # Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # @@ -34,7 +34,7 @@ class Tk::RbWidget::ScrollFrame < TkFrame :borderwidth=>0, :selectborderwidth=>0, :highlightthickness=>0) - # allignment + # alignment TkGrid.rowconfigure(@frame, 0, 'weight'=>1, 'minsize'=>0) TkGrid.columnconfigure(@frame, 0, 'weight'=>1, 'minsize'=>0) @canvas.grid('row'=>0, 'column'=>0, 'sticky'=>'news') |