<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Behaviour of BottomEdge and PageStack]]></title><description><![CDATA[<p dir="auto">Hi guys,</p>
<p dir="auto">I'm working on my first Ubuntu Touch app but sadly I've been stuck for several days. What I want to achieve is a BottomEdge component that contains a PageStack so that I can push 2 different pages that ask the user for some input. When I push the first Page onto the PageStack, the page's height is reset to 0 after (!) the page's component.onCompleted() method is executed and I can't figure out what's wrong. A more detailed explanation with code snippets is already on StackOverflow:</p>
<p dir="auto"><a href="https://stackoverflow.com/questions/69292221/behaviour-of-pagestack-bottomedge-ubuntu-components" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/69292221/behaviour-of-pagestack-bottomedge-ubuntu-components</a></p>
<p dir="auto">Maybe someone of you who's familiar with these components can help me out. I read all the relevant documentation but I can't figure out what's wrong.<br />
If this is the wrong place to ask this kind of question, please let me know so I can close or delete it.</p>
<p dir="auto">Thanks for reading!</p>
]]></description><link>https://forums.ubports.com/topic/6757/behaviour-of-bottomedge-and-pagestack</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 17:32:13 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/6757.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Sep 2021 11:07:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Behaviour of BottomEdge and PageStack on Mon, 04 Oct 2021 19:43:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/irnbru" aria-label="Profile: irnbru">@<bdi>irnbru</bdi></a> Hi, sorry for replying late. I tried what you suggested and it actually works as I want it to! Thats awesome! Thank you very much for taking some time to help!</p>
]]></description><link>https://forums.ubports.com/post/56078</link><guid isPermaLink="true">https://forums.ubports.com/post/56078</guid><dc:creator><![CDATA[sb]]></dc:creator><pubDate>Mon, 04 Oct 2021 19:43:37 GMT</pubDate></item><item><title><![CDATA[Reply to Behaviour of BottomEdge and PageStack on Wed, 29 Sep 2021 22:04:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sb" aria-label="Profile: sb">@<bdi>sb</bdi></a> I agree with <a class="plugin-mentions-user plugin-mentions-a" href="/user/cibersheep" aria-label="Profile: CiberSheep">@<bdi>CiberSheep</bdi></a> , I would not define a PageStack inside BottomEdge content, but only in a main view.<br />
Probably you do not need at all pageStack because BottomEdge allow you to display a content that you should be able to set with an url (see ContentUrl in the API doc).</p>
<p dir="auto">This is just an idea, I never use myself BottomEdge.</p>
]]></description><link>https://forums.ubports.com/post/55813</link><guid isPermaLink="true">https://forums.ubports.com/post/55813</guid><dc:creator><![CDATA[Aloys]]></dc:creator><pubDate>Wed, 29 Sep 2021 22:04:26 GMT</pubDate></item><item><title><![CDATA[Reply to Behaviour of BottomEdge and PageStack on Wed, 29 Sep 2021 15:42:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sb" aria-label="Profile: sb">@<bdi>sb</bdi></a> I'm just starting with QML too so don't take anything i say as a good idea! but in the documentation it seems contentComponents width and height should be set to the parent Page width and height NOT BottomEdge.</p>
<p dir="auto">I was still getting the same problems after changing this so I tried setting the contentComponent to a Rectangle and nesting the PageStack inside. After this,  myStackPage.height no longer resets to 0.</p>
<p dir="auto">Hope this might help</p>
]]></description><link>https://forums.ubports.com/post/55780</link><guid isPermaLink="true">https://forums.ubports.com/post/55780</guid><dc:creator><![CDATA[irnbru]]></dc:creator><pubDate>Wed, 29 Sep 2021 15:42:40 GMT</pubDate></item><item><title><![CDATA[Reply to Behaviour of BottomEdge and PageStack on Tue, 28 Sep 2021 19:05:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sb" aria-label="Profile: sb">@<bdi>sb</bdi></a> I'm not sure the BottomEdge can cope with a PageStack. I think it was designed to hold an element or a Page.</p>
<p dir="auto">You may look here: <a href="https://api-docs.ubports.com/sdk/apps/qml/Ubuntu.Components/BottomEdge.html#page-as-content" target="_blank" rel="noopener noreferrer nofollow ugc">https://api-docs.ubports.com/sdk/apps/qml/Ubuntu.Components/BottomEdge.html#page-as-content</a></p>
]]></description><link>https://forums.ubports.com/post/55751</link><guid isPermaLink="true">https://forums.ubports.com/post/55751</guid><dc:creator><![CDATA[CiberSheep]]></dc:creator><pubDate>Tue, 28 Sep 2021 19:05:50 GMT</pubDate></item></channel></rss>