Public bug reported:

According to the documentation of PageHeadConfiguration ( 
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.PageHeadConfiguration
 ) property "foregroundColor" should change the color of the text and icons. 
Unfortunately it only affects the page title and not icons. Screenshot attached.
Sample code:

import QtQuick 2.4
import Ubuntu.Components 1.3

Page {
    id: root_about

    title: "Test page"

    head.foregroundColor: "red"
    head.actions: [
        Action {
            iconName: "camcorder"
        },
        Action {
            iconName: "info"
        }
    ]
}

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "screenshot20151112_120353158.png"
   
https://bugs.launchpad.net/bugs/1515593/+attachment/4517520/+files/screenshot20151112_120353158.png

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1515593

Title:
  head.foregroundColor does not affect icons in the header

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  According to the documentation of PageHeadConfiguration ( 
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.PageHeadConfiguration
 ) property "foregroundColor" should change the color of the text and icons. 
  Unfortunately it only affects the page title and not icons. Screenshot 
attached.
  Sample code:

  import QtQuick 2.4
  import Ubuntu.Components 1.3

  Page {
      id: root_about

      title: "Test page"

      head.foregroundColor: "red"
      head.actions: [
          Action {
              iconName: "camcorder"
          },
          Action {
              iconName: "info"
          }
      ]
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1515593/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to