Skip to content

Commit

Permalink
VodPage: fix fullscreen, add scroll decorator.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldrog committed Aug 7, 2016
1 parent 314761b commit 5bbfa11
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions sailfish-ui/pages/VodPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -212,5 +212,32 @@ Page {
text: vodDetails.description
}
}

ScrollDecorator { flickable: main }
}

states: State {
name: "fullscreen"
PropertyChanges {
target: main
contentHeight: page.height
}

PropertyChanges {
target: infoContainer
visible: false
}

PropertyChanges {
target: vodMenu
visible: false
active: false
}

PropertyChanges {
target: page
showNavigationIndicator: false; backNavigation: false
allowedOrientations: Orientation.Landscape | Orientation.LandscapeInverted
}
}
}

0 comments on commit 5bbfa11

Please sign in to comment.