multitasking: inset the cards so neighbouring zones show through
This commit is contained in:
parent
6f375286bf
commit
a1d9a874e5
1 changed files with 11 additions and 0 deletions
|
|
@ -207,6 +207,17 @@ Item {
|
|||
Rectangle {
|
||||
anchors.fill: parent
|
||||
anchors.bottomMargin: 34
|
||||
// Inset, so a card is a card and not the screen again.
|
||||
//
|
||||
// Full-bleed reads as "you are looking at that app" rather
|
||||
// than "here are the places you can go", and it leaves no gap
|
||||
// for the neighbouring zones to show through — which is the
|
||||
// only thing on screen saying there ARE neighbours. The
|
||||
// delegate stays the list's full width so snapping still lands
|
||||
// one card per swipe; only the drawn card is smaller.
|
||||
anchors.leftMargin: 26
|
||||
anchors.rightMargin: 26
|
||||
anchors.topMargin: 12
|
||||
radius: 18
|
||||
color: Appearance.colors.colLayer1
|
||||
// The zone you are on is named by its frame rather than by
|
||||
|
|
|
|||
Loading…
Reference in a new issue