app/app_delegate.rb in motion-xray-1.0.6 vs app/app_delegate.rb in motion-xray-1.0.7
- old
+ new
@@ -19,10 +19,10 @@
class MyController < UIViewController
def viewDidLoad
self.view.backgroundColor = :black.uicolor
- bluebox = UIView.alloc.initWithFrame([[20, 20], [30, 30]])
+ bluebox = UIView.alloc.initWithFrame([[20, 84], [30, 30]])
bluebox.backgroundColor = :blue.uicolor
self.view << bluebox
darkbox = UIView.alloc.initWithFrame(bluebox.frame.below(8))
darkbox.backgroundColor = '#222222'.uicolor