← Back to team overview

touch-packages team mailing list archive

[Bug 1515593] Re: head.foregroundColor does not affect icons in the header

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: In Progress => Fix Committed

-- 
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:
  Fix Committed

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


References