当前位置:  开发笔记 > 编程语言 > 正文

Ruby Shoes - Subpane窗口中的滚动条

如何解决《RubyShoes-Subpane窗口中的滚动条》经验,为你挑选了1个好方法。

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



1> 小智..:

只需修复高度并添加":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

推荐阅读
Chloemw
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有