Merge lp://staging/~gcollura/content-hub/fix-1384490 into lp://staging/content-hub
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | lp://staging/~gcollura/content-hub/fix-1384490 | ||||
Merge into: | lp://staging/content-hub | ||||
Diff against target: |
43 lines (+4/-4) 2 files modified
import/Ubuntu/Content/ContentPeerPicker10.qml (+2/-2) import/Ubuntu/Content/ContentPeerPicker11.qml (+2/-2) |
||||
To merge this branch: | bzr merge lp://staging/~gcollura/content-hub/fix-1384490 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Sheldon (community) | Needs Fixing | ||
Review via email: mp+240156@code.staging.launchpad.net |
Commit message
Fix bug #1384490 by setting a different background color for ContentPeerPicker.
Description of the change
I changed the default background of the ContentPeerPicker to Theme.palette.
Let me know what you think about this idea.
Thanks in advance,
Giulio
Unmerged revisions
- 162. By Giulio Collura
-
use ColorUtils.
luminance to determine background color - 161. By Giulio Collura
-
fix rgba typo. make rectangle color transparent
- 160. By Giulio Collura
-
Fix bug #1384490
I think it's best if we pick up the colour from the Theme palette as this is how the developer should be customising colour throughout the app, however I think we need to do some extra things to match the way the UITK uses these properties, I'll have a bit of look into this and get back to you on what I find.
Aside from that it looks like you've got a couple of typos for Qt.rgba listed as Qt.rbga (g and b switched around), so dark layouts still get the white background. However, with these corrected the apps box for light backgrounds becomes gray, so we might need to think about that a bit more.