[macruby-changes] [379] MacRuby/trunk/sample-macruby/HotCocoa/collection_view.rb
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jul 15 08:53:51 PDT 2008
Revision: 379
http://trac.macosforge.org/projects/ruby/changeset/379
Author: rich at infoether.com
Date: 2008-07-15 08:53:50 -0700 (Tue, 15 Jul 2008)
Log Message:
-----------
get rid of explicit sizes
Modified Paths:
--------------
MacRuby/trunk/sample-macruby/HotCocoa/collection_view.rb
Modified: MacRuby/trunk/sample-macruby/HotCocoa/collection_view.rb
===================================================================
--- MacRuby/trunk/sample-macruby/HotCocoa/collection_view.rb 2008-07-15 15:10:09 UTC (rev 378)
+++ MacRuby/trunk/sample-macruby/HotCocoa/collection_view.rb 2008-07-15 15:53:50 UTC (rev 379)
@@ -47,9 +47,8 @@
application do |app|
window :frame => [100, 100, 500, 500], :title => "HotCocoa!" do |win|
- win << scroll_view(:frame => [10,10,480,470], :layout => {:expand => true, :other => :fill}) do |scroll|
- cv = collection_view :frame => [0,0,480,470],
- :content => {icons => "arrangedObjects"},
+ win << scroll_view(:layout => {:expand => true, :other => :fill}) do |scroll|
+ cv = collection_view :content => {icons => "arrangedObjects"},
:selection_indexes => {icons => "selectionIndexes"},
:item_view => MyIconView.create,
:map_bindings => true
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080715/dc8431b2/attachment-0001.html
More information about the macruby-changes
mailing list