【问题标题】:How to change TTLauncherItem's text label frame/position如何更改 TTLauncherItem 的文本标签框架/位置
【发布时间】:2010-12-01 14:52:08
【问题描述】:

我需要一个自定义的 TTLauncherItem 来显示图像上的文本。 有没有办法让它工作?

默认看起来像:

+----+
|    |
+----+
 text

我希望它是这样的:

+----+
|text|
+----+

感谢您的帮助!

【问题讨论】:

    标签: iphone ios three20 ttlauncheritem


    【解决方案1】:

    您可以在 TTLauncherItem init 函数中修改图像参数。

    [[[TTLauncherItem alloc] initWithTitle:@":)"
          image:nil
          URL:@"tt://tabBarTest" canDelete:NO] autorelease]
    

    【讨论】:

    • 他不是这么问的。他想改变标题标签相对于图像的位置,但他仍然想要图像。
    猜你喜欢
    • 2015-09-30
    • 2018-10-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-01
    • 1970-01-01
    • 2022-01-04
    相关资源
    最近更新 更多