Skip to content

Commit

Permalink
change to title from text for column
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@660 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information
richkilmer committed Oct 9, 2008
1 parent 11bdf9f commit 0fb86e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sample-macruby/HotCocoa/demo/lib/views/table_view.rb
Expand Up @@ -9,8 +9,8 @@ def self.create
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"},
Expand Down

0 comments on commit 0fb86e6

Please sign in to comment.