×
Namespaces

Variants
Actions

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

From Nokia Developer 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 05:04.
61 page views in the last 30 days.
×