[macruby-changes] [660] MacRuby/trunk/sample-macruby/HotCocoa/demo/lib/views/table_view.rb

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 8 19:30:53 PDT 2008


Revision: 660
          http://trac.macosforge.org/projects/ruby/changeset/660
Author:   rich at infoether.com
Date:     2008-10-08 19:30:52 -0700 (Wed, 08 Oct 2008)
Log Message:
-----------
change to title from text for column

Modified Paths:
--------------
    MacRuby/trunk/sample-macruby/HotCocoa/demo/lib/views/table_view.rb

Modified: MacRuby/trunk/sample-macruby/HotCocoa/demo/lib/views/table_view.rb
===================================================================
--- MacRuby/trunk/sample-macruby/HotCocoa/demo/lib/views/table_view.rb	2008-10-09 02:29:49 UTC (rev 659)
+++ MacRuby/trunk/sample-macruby/HotCocoa/demo/lib/views/table_view.rb	2008-10-09 02:30:52 UTC (rev 660)
@@ -9,8 +9,8 @@
       view << scroll_view(:layout => {:expand => [:width, :height]}) do |scroll|
         scroll << table_view( 
           :columns => [
-            column(:id => :first_name, :text => "First"), 
-            column(:id => :last_name, :text => "Last")
+            column(:id => :first_name, :title => "First"), 
+            column(:id => :last_name, :title => "Last")
             ],
           :data => [
             {:first_name => "Richard", :last_name => "Kilmer"},
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20081008/5f96b722/attachment.html 


More information about the macruby-changes mailing list