%angel

scrollbarexample = window {
   title = "Scrollbar Example";
   content = [mytext2,myscrollbar,mytext1] };

mytext2 = textbox {
   height = 1;
   side = "bottom";
   fill = "x" };

mytext1 = textbox {
   side = "right";
   fill = "both";
   expand = 1 };

myscrollbar = scrollbar {
   scrolls = "mytext1";
   orient = "vertical";
   side = "right";
   fill = "y" };


