Common banner on top a PageStackWindows
-
Hi all :P
I'm tryng to reproduce such kind of visualization, but I'm not able to obtain what I need...
The idea is that I need to have a banner in common to all my app pages, and on the bottom of the banner different kind of pages, one is a listview, then when I tap over a list item and it loads content on a tabbarlayout.
But either the list view shoul scroll at the bottom of the banner and the tabbar should appear under the banner...Any advice on how to do this? :) Should I add the banner on top of every designed page used in the pagestackwindows? But in this case, I've been able to do it with the tabbar, but with the listView, the list start correctly under the banned, -but when scrolling, it goes over it, reaching the top of the screen...- (a trick by making z: 1 seems to have solved the problem here...) :)
-
Seems to me like you need to enable cropping?
-
[quote author="Andre" date="1340716116"]Seems to me like you need to enable cropping?[/quote]
Newbie question...: what you mean exactly? :P
-
My mistake, I should have set "clipping" instead of "cropping". Look up the clip property in the documentation for QML Item.
-
So, you are suggesting to:
- making a main file with a PageStackWindow
- put the banner on top of the PageStackWindow
- on every page used in the pageStackWindow, use the clip properties set to true
?
If so, it does not work, but I'm pretty sure this is not what you mean... :P
-
The clipping is about making sure the items from your list view don't start to overlap with your other items. Nothing more. Sorry I was being too short.
-
[quote author="Andre" date="1340717853"]The clipping is about making sure the items from your list view don't start to overlap with your other items. Nothing more. Sorry I was being too short. [/quote]
It's not your falt, it's just me being too much newbie on this... :P
I will try this, let's see :PUPDATE: new thing learned, and it works! :P So the solution is to put the banner inside each page and then if needed clip the other contents :D Thanks!!! :D