mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9b52ae2e64
commit
287a34ae0d
856 changed files with 13989 additions and 13989 deletions
|
|
@ -6,7 +6,7 @@
|
|||
# When it is configured, scrollregion of the container is changed.
|
||||
#
|
||||
# Scrollbars can be toggled by Tk::ScrollFrame#vscroll & hscroll.
|
||||
# If horizontal or virtical scrollbar is turned off, the horizontal
|
||||
# If horizontal or virtical scrollbar is turned off, the horizontal
|
||||
# or virtical size of embedded widgets is propagated.
|
||||
#
|
||||
# Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
|
||||
|
|
@ -27,8 +27,8 @@ class Tk::ScrollFrame < TkFrame
|
|||
@v_scroll = TkScrollbar.new(@frame, 'orient'=>'vertical')
|
||||
|
||||
# create a canvas widget
|
||||
@canvas = TkCanvas.new(@frame,
|
||||
:borderwidth=>0, :selectborderwidth=>0,
|
||||
@canvas = TkCanvas.new(@frame,
|
||||
:borderwidth=>0, :selectborderwidth=>0,
|
||||
:highlightthickness=>0)
|
||||
|
||||
# allignment
|
||||
|
|
@ -215,7 +215,7 @@ if __FILE__ == $0
|
|||
TkButton.new(f, :text=>'foo button', :command=>proc{puts 'foo'}).pack
|
||||
TkButton.new(f, :text=>'baaar button', :command=>proc{puts 'baaar'}).pack
|
||||
TkButton.new(f, :text=>'baz button', :command=>proc{puts 'baz'}).pack
|
||||
TkButton.new(f, :text=>'hoge hoge button',
|
||||
TkButton.new(f, :text=>'hoge hoge button',
|
||||
:command=>proc{puts 'hoge hoge'}).pack(:side=>:bottom)
|
||||
|
||||
# f.hscroll(false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue