NSScrollView 周围出现蓝色边框
我确信这是正常的,我只是误解了一些东西,但是由于我的一个 NSScrollView
稍微插入到窗口底部(而不是采用整个高度),因此会出现蓝色它的周围出现了边框。
我已经在滚动视图上设置了 NSNoBorder
,所以这一定是其他东西。
[scrollView setBorderType:NSNoBorder];
任何指示将不胜感激。我希望边框消失,因为它破坏了应用程序的外观并且看起来很损坏。
我认为这是滚动视图。它里面的视图是一个 NSOutlineView ,所以也许它是这样的?
I'm sure this is normal and I'm just misunderstanding something, but since making one of my NSScrollView
s slightly inset from the bottom of the window (as opposed to taking the full height), a blue border has appeared around it.
I've set NSNoBorder
on the scroll view, so this must be something else.
[scrollView setBorderType:NSNoBorder];
Any pointers would be greatly appreciated. I'd like the border to go away as it spoils the look of the app and just looks broken.
I assume it's the scroll view. The view inside it as an NSOutlineView
, so maybe it's something on that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
那是对焦环。它显示如果用户键入任何内容,哪个视图将获得击键。如果您禁止它,那么您的应用程序将不符合 UI 指南。
That's the focus ring. It shows which view is going to get the keystrokes if the user types anything. If you suppress it, then your app will not be in compliance with the UI guidelines.