Permalink
Browse files

a

  • Loading branch information...
1 parent 6ab0c4b commit e871ff2e0737cce85e7bd5f68983588ef615f29c @grirgz committed Nov 17, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 crap35.sc
View
12 crap35.sc
@@ -0,0 +1,12 @@
+(
+var stack;
+w = Window();
+~layout = VLayoutView.new(w, Rect(0,0,200,200));
+~but = Button(~layout).states_([["One"],["Two"],["Three"]]).action_({ |b| stack.index = b.value });
+stack = StackLayout.new(~layout,
+ TextView().string_("This is a chunk of text..."),
+ TextView().string_("...and this is another..."),
+ TextView().string_("...and another.")
+ );
+w.front;
+)

0 comments on commit e871ff2

Please sign in to comment.