Window Switching layouts are not flickable over bounds

Flicking has to stop at the bounds in the window switcher
layouts. It's not natural on the desktop that they are
flickable in the first place.

Window Strip is unchanged as this layout is intended to be used
on touch and flickable user experiences.

REVIEW: 105001
icc-effect-5.14.5
Martin Gräßlin 2012-05-20 21:00:48 +02:00
parent 98feb9dd3b
commit 88e4ede6ce
7 changed files with 7 additions and 0 deletions

View File

@ -105,6 +105,7 @@ Item {
height: iconSize + margins.top + margins.bottom height: iconSize + margins.top + margins.bottom
} }
highlightMoveDuration: 250 highlightMoveDuration: 250
boundsBehavior: Flickable.StopAtBounds
} }
/* /*
* Key navigation on outer item for two reasons: * Key navigation on outer item for two reasons:

View File

@ -191,6 +191,7 @@ Item {
width: compactListView.width width: compactListView.width
} }
highlightMoveDuration: 250 highlightMoveDuration: 250
boundsBehavior: Flickable.StopAtBounds
} }
/* /*
* Key navigation on outer item for two reasons: * Key navigation on outer item for two reasons:

View File

@ -207,6 +207,7 @@ Item {
width: listView.width width: listView.width
} }
highlightMoveDuration: 250 highlightMoveDuration: 250
boundsBehavior: Flickable.StopAtBounds
} }
/* /*
* Key navigation on outer item for two reasons: * Key navigation on outer item for two reasons:

View File

@ -170,6 +170,7 @@ Item {
width: thumbnailListView.cellWidth width: thumbnailListView.cellWidth
height: thumbnailListView.cellHeight height: thumbnailListView.cellHeight
} }
boundsBehavior: Flickable.StopAtBounds
} }
/* /*
* Key navigation on outer item for two reasons: * Key navigation on outer item for two reasons:

View File

@ -156,6 +156,7 @@ Item {
width: textListView.width width: textListView.width
} }
highlightMoveDuration: 250 highlightMoveDuration: 250
boundsBehavior: Flickable.StopAtBounds
} }
/* /*
* Key navigation on outer item for two reasons: * Key navigation on outer item for two reasons:

View File

@ -117,6 +117,7 @@ Item {
width: thumbnailListView.thumbnailWidth width: thumbnailListView.thumbnailWidth
height: thumbnailListView.thumbnailWidth*(1.0/screenFactor) height: thumbnailListView.thumbnailWidth*(1.0/screenFactor)
} }
boundsBehavior: Flickable.StopAtBounds
} }
Item { Item {
height: 40 height: 40

View File

@ -164,5 +164,6 @@ Item {
width: listView.width width: listView.width
} }
highlightMoveDuration: 250 highlightMoveDuration: 250
boundsBehavior: Flickable.StopAtBounds
} }
} }