简体   繁体   English

NSSlider标签

[英]NSSlider labels

ALL, 所有,

I couldn't find anything in the Cocoa documentation about making labels for some NSSlider values. 我在Cocoa文档中找不到有关为某些NSSlider值制作标签的任何内容。 Is this functionality does not exist or I am missing something? 此功能不存在或我缺少什么吗?

If this is not exist how do place the labels for the vertically placed NSSlider control with the ticks placed on the left side of the control? 如果不存在,如何将垂直放置的NSSlider控件的标签与刻度线放在控件的左侧?

Normally a slider is linked to a text field which indicates the current numerical value. 通常,滑块链接到指示当前数值的文本字段。 You will just have to position labels as best as you can. 您只需要尽可能地定位标签即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM