Incorrect margins for header contents

Bug #1378261 reported by Cris Dywan
This bug report is a duplicate of:  Bug #1379832: search box in dash is too big. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Committed
Critical
Tim Peeters
ubuntu-ui-toolkit (Ubuntu)
New
Undecided
Unassigned
Vivid
New
Undecided
Unassigned
ubuntu-ui-toolkit (Ubuntu RTM)
New
Undecided
Unassigned

Bug Description

It's impossible to have a component in the header expanding to the available space.

head.contents: TextField {
    width: parent.width
}

head.contents: Rectangle {
    anchors.fill: parent
    color: UbuntuColor.blue
}

The component will overlap with the left-most header button.

Use case: Unity8 header has incorrect margins for the search header.

Related branches

Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit:
status: New → Confirmed
importance: Undecided → Medium
description: updated
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
assignee: nobody → Tim Peeters (tpeeters)
status: Confirmed → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit:
importance: Medium → Critical
Tim Peeters (tpeeters)
description: updated
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit:
milestone: none → 10.24
Tim Peeters (tpeeters)
summary: - Impossible to make head.contents fill the available space
+ Incorrect margins for header contents
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.