tags:

views:

205

answers:

4

I can't seem to get a scrollbar to work in an inner stack/flow. Does anyone know how to?

A: 

I'm not sure what exactly you mean by "an inner stack/flow", but we use iframes for our subpane windows which has a scrolling attribute you can set. Otherwise you can use a javascript framework like YUI to get subpane windows that can allow scrolling capabilities.

Ben5e
The "shoes" tag on the question implies that it's a Shoes stack or flow.
nertzy
A: 

I don't think there are iframes in shoes. inner stack/flow, just means inside a main shoes window you can have sub stacks or flows.

+1  A: 

You can use a tag, and then have css as such:


#my_div {
 width: [some_width]px;
 height: [some_height]px;
 overflow: auto;
}

+1  A: 

Just fix height and add ":scroll => true" parameter:

Shoes.app(:title => "Scrolll!" ) do
flow :margin => 10 do
   stack :width => "150px", :height => "200px", :scroll => true do
    para  "all you need is love",  "all you need is love", "all you need is love", "all you need is love", "all you need is love", "all you need is love", "all you need is love", "all you need is love", "all you need is love", "all you need is love",
end
end
end