This is solved. The code below shows no divider:

import QtQuick 2.4
import Ubuntu.Components 1.3

MainView {
    width: units.gu(100)
    height: units.gu(70)

    Rectangle {
        anchors.fill: parent
        color: "red"
        opacity: 0.2
        border.width: units.gu(1)
    }
}


** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: Confirmed => Fix Released

-- 
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/1520778

Title:
  No way to get rid of header divider without Page component

Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released

Bug description:
  My intention was to have a "clear canvas" to put elements on it. I
  thought using just MainView would be enough to do that but I was
  surprised that the header divider was visible. To get rid of it I had
  to add Page component and use "head.visible: false".

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

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to     : ubuntu-sdk-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to