Sencha Touch add view inside viewport, position it absolute, on top of all other views of the app

StackOverflow https://stackoverflow.com/questions/23648965

  •  22-07-2023
  •  | 
  •  

Question

In Sencha Touch, I have created a view which contains some legal text.

How can I add that view inside the ViewPort, make it position absolute and make it sit on top of all other views from the Viewport?

The view is basically a legal disclaimer, with a transparent background, which needs to always be visible in the viewport, on top of all other views.

Was it helpful?

Solution

If I understand correctly your requirements, you can do that by using a simple Ext.Container with centered: true.

See an example here: https://fiddle.sencha.com/#fiddle/5s9

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top