[macruby-changes] [380] MacRuby/trunk/lib/hotcocoa/mappings/collection_view.rb

source_changes at macosforge.org source_changes at macosforge.org
Tue Jul 15 08:54:07 PDT 2008


Revision: 380
          http://trac.macosforge.org/projects/ruby/changeset/380
Author:   rich at infoether.com
Date:     2008-07-15 08:54:07 -0700 (Tue, 15 Jul 2008)
Log Message:
-----------
sensible frame size defaults

Modified Paths:
--------------
    MacRuby/trunk/lib/hotcocoa/mappings/collection_view.rb

Modified: MacRuby/trunk/lib/hotcocoa/mappings/collection_view.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa/mappings/collection_view.rb	2008-07-15 15:53:50 UTC (rev 379)
+++ MacRuby/trunk/lib/hotcocoa/mappings/collection_view.rb	2008-07-15 15:54:07 UTC (rev 380)
@@ -1,6 +1,6 @@
 HotCocoa::Mappings.map :collection_view => :NSCollectionView do
   
-  defaults :layout => {}, :frame => [0,0,0,0]
+  defaults :layout => {}, :frame => [0,0,100,100]
   
   def init_with_options(collection_view, options)
     collection_view.initWithFrame options.delete(:frame)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080715/d6a9b169/attachment.html 


More information about the macruby-changes mailing list