如何处理 UITabBar 上的长名称

发布于 2024-11-14 03:30:15 字数 282 浏览 4 评论 0原文

可能的重复:
更改 tabbaritem 的字体大小

我在 UITabBar 中有三个选项卡。我必须设置的标题很长,因此标题会重叠。有什么方法可以将这些标题放入相应的选项卡中,例如增加行数。或者说在UITabBar中写长标题不重叠是不可能的。

Possible Duplicate:
Changing font size of tabbaritem

I have three tabs in UITabBar. The titles I have to set are very long so the titles are getting overlapped. Is there any way to fit those titles in a corresponding tab like by increasing number of lines. Or is it not possible to write long titles in UITabBar without overlapping.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

毁我热情 2024-11-21 03:30:15

只是一个独特的解决方案……

在选项卡栏中设置图像的名称而不是设置名称。

因此,即使这样也不会使选项卡栏文本相互重叠。

Just a unique solution ......

Set the image in Tabbar with the name rather than setting the names.

So,even that would not make the Tabbar text to be overlapping each other.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文