Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Style changes including user profile image

  • Loading branch information...
commit 92a3c22053a1818d950855c06356378c7d0be859 1 parent d634ba7
Joe Strong authored

Showing 1 changed file with 15 additions and 8 deletions. Show diff stats Hide diff stats

  1. +15 8 shoes.rb
23 shoes.rb
@@ -4,16 +4,23 @@
4 4
5 5 require 'twitter'
6 6
7   -Shoes.app do
8   - background "#fff".."#eee"
9   - border("#ccc", :strokewidth => 6)
  7 +Shoes.app(:title => "Feather", :width => 480, :height =>480, :resizable => false) do
  8 + background "#fff"
10 9 @timeline = Twitter.user_timeline("strongjoe")
11   - stack do
  10 + stack(:width => 75) do
  11 + background "#222"
  12 + para "menu"
  13 + end
  14 + stack(:width => 405) do
12 15 @timeline.each do |tweet|
13   - flow do
14   - para tweet.from_user_id
15   - para tweet.text
16   - end
  16 + stack do
  17 + background "#aaa".."#bbb"
  18 + flow do
  19 + image tweet.user.profile_image_url
  20 + para tweet.user.name
  21 + para tweet.text
  22 + end
  23 + end
17 24 end
18 25 end
19 26 end

0 comments on commit 92a3c22

Please sign in to comment.
Something went wrong with that request. Please try again.