← Back to team overview

ubuntu-sdk-bugs team mailing list archive

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

 

** Package changed: ubuntu-ui-toolkit (Ubuntu) => ubuntu-ui-toolkit
(Ubuntu RTM)

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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 RTM:
  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-rtm/+source/ubuntu-ui-toolkit/+bug/1515593/+subscriptions


References