applescript 标题 nowrap 吗?
是否可以在显示框的标题上设置“nowrap”?
例如:
set selectedSite to (choose from list MySites with prompt "Which site would you like to use:" with title AppTitle without multiple selections allowed)
由于该框中列出的网站相当小,因此该框的标题会换行,有没有办法防止换行?
Is it possible to set a "nowrap" on a title of a display box?
for example:
set selectedSite to (choose from list MySites with prompt "Which site would you like to use:" with title AppTitle without multiple selections allowed)
Since the sites listed in that box are rather small, the title of the box wraps, is there a way to prevent the wrap?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过键入 Option-Space 而不是仅输入 Space,将提示字符串中的常规空格替换为不间断空格,但这只会移动它换行的点,因为它仍然无法容纳 - 它不会调整窗口大小以适应它。我建议将提示字符串更改为更短。
You can replace the regular spaces in the prompt string with non-breaking spaces by typing Option-Space instead of just Space, but that only shifts the point where it wraps, as it still can't fit—it doesn't resize the window to fit it. I'd suggest changing the prompt string to be shorter instead.