Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

无法使用MAknsSkinInstance::SetLocalItemDefL改变tab背景图片

From Wiki
Jump to: navigation, search
Article Metadata

兼容于
平台: S60 3rd Edition FP1 and FP2, S60 5th Edition
S60 5th Edition
S60 3rd Edition FP2
S60 3rd Edition FP1

文章
翻译:
hoolee
最后由 hamishwillee 在 27 Aug 2012 编辑
  • 详细描述

无法通过程序使用MAknsSkinInstance::SetLocalItemDefL()方法来改变tab背景图片


我们可以通过该API设置部分控件的皮肤,如状态栏(Archived:Changing the skin of the status pane on Symbian),但却无法用来设置tab背景图片


用来绘制tab背景的skin项有:

* KAknsIIDQgnGrafTabActiveL    (left section of an active tab background)
* KAknsIIDQgnGrafTabActiveM (middle section of an active tab background)
* KAknsIIDQgnGrafTabActiveR (right section of an active tab background)
* KAknsIIDQgnGrafTabPassiveL (left section of a passive tab background)
* KAknsIIDQgnGrafTabPassiveM (middle section of a passive tab background)
* KAknsIIDQgnGrafTabPassiveR (right section of a passive tab background)

当我们试图使用MAknsSkinInstance::SetLocalItemDefL()来改变背景时,激活和失效的tab背景会变为蓝色和灰色,但我们设置的位图颜色和主题均被忽略。


  • 解决方案

暂无解决方案

This page was last modified on 27 August 2012, at 02:04.
103 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×