Browse files

Style changes including user profile image

  • Loading branch information...
1 parent d634ba7 commit 92a3c22053a1818d950855c06356378c7d0be859 @joestrong committed Aug 17, 2012
Showing with 15 additions and 8 deletions.
  1. +15 −8 shoes.rb
View
23 shoes.rb
@@ -4,16 +4,23 @@
require 'twitter'
-Shoes.app do
- background "#fff".."#eee"
- border("#ccc", :strokewidth => 6)
+Shoes.app(:title => "Feather", :width => 480, :height =>480, :resizable => false) do
+ background "#fff"
@timeline = Twitter.user_timeline("strongjoe")
- stack do
+ stack(:width => 75) do
+ background "#222"
+ para "menu"
+ end
+ stack(:width => 405) do
@timeline.each do |tweet|
- flow do
- para tweet.from_user_id
- para tweet.text
- end
+ stack do
+ background "#aaa".."#bbb"
+ flow do
+ image tweet.user.profile_image_url
+ para tweet.user.name
+ para tweet.text
+ end
+ end
end
end
end

0 comments on commit 92a3c22

Please sign in to comment.