gpt4 book ai didi

Ruby Shoes - 子 Pane 窗口中的滚动条

转载 作者:数据小太阳 更新时间:2023-10-29 07:16:37 25 4
gpt4 key购买 nike

我似乎无法让滚动条在内部堆栈/流中工作。有谁知道怎么做吗?

最佳答案

只需固定高度并添加“:scroll => true”参数:

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

关于Ruby Shoes - 子 Pane 窗口中的滚动条,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/275453/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com