1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/tk/sample/tkextlib/treectrl/imovie.rb: fixed typo. (click on clip title)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-04-08 15:08:45 +00:00
parent 6143edbbe0
commit d43e5b1812
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2005-04-09 ocean <ocean@ruby-lang.org>
* sample/tkextlib/treectrl/imovie.rb: fixed typo. (click on clip title)
2005-04-08 ocean <ocean@ruby-lang.org>
* sample/tkextlib/treectrl/random.rb: fixed typo. (drop node outside of

View file

@ -116,7 +116,7 @@ def iMovieButton1(w, x, y)
ent.place(:y=>y1 - 1)
end
ent.selection_clear
x1, y1, x2, y2 = t.item_bbox(i)
x1, y1, x2, y2 = w.item_bbox(i)
ent.place(:x=>x1 + 1, :width=>x2 - x1 - 5)
puts "@#{x - (x1 + 1)}"
# ent.icursor = ent.index("@#{x - (x1 + 1)}")