gpt4 book ai didi

cocoa - NSScrollView -- 当 < 4 行时不显示蓝色按钮滚动条?

转载 作者:行者123 更新时间:2023-12-03 17:44:31 25 4
gpt4 key购买 nike

除非我的 ScrollView 有 4 行长,否则 Cocoa 不会渲染蓝色滚动按钮。

Screenshot comparing three table views, one with two rows and no scroll thumb and two with four rows each and a scroll thumb each.
(来源:gordonjl.com)

有谁知道当 ScrollView 只有两行时如何显示滚动条按钮?

谢谢!

最佳答案

我不认为这是行数的问题,而是没有足够的空间容纳“蓝色按钮”和滚动箭头。您需要增加 table 的高度。无论如何,这样的尺寸很难使用。

关于cocoa - NSScrollView -- 当 < 4 行时不显示蓝色按钮滚动条?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3494836/

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