<?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[Centering ScrollView in the middle of the screen]]></title><description><![CDATA[<p dir="auto">Hello fello Qt Devs,</p>
<p dir="auto">how does one center ScrollView in the middle of the screen?</p>
<p dir="auto">I have it as an element of page and tried achors.horizontalCenter: parent.horizontalCenter<br />
anchors.centerIn:<br />
x:<br />
made the text be inside of Column{} and set ScrollViews height to that columns height and even tried to center the Text{} elements of the ScrollView to center of page by its Id, but nothing works. It is either left-aligned or breaks.</p>
<p dir="auto">Should I remove the Page element since it might interfere,k but how then i put buttons that stay in the same location when one scrolls, and I also havent seen ScrollView centered even when its standalone, in tutorial version it was also left-aligned.</p>
<p dir="auto">Cheers, DSU</p>
]]></description><link>https://forum.qt.io/topic/165095/centering-scrollview-in-the-middle-of-the-screen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 17:17:09 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/165095.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Sep 2026 22:31:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Centering ScrollView in the middle of the screen on Wed, 16 Sep 2026 10:42:59 GMT]]></title><description><![CDATA[<p dir="auto">Keep in mind that when you try to center elements containing text, you also need to align the text itself inside the component (vertical and horizontal <strong>alignment</strong>).</p>
]]></description><link>https://forum.qt.io/post/840164</link><guid isPermaLink="true">https://forum.qt.io/post/840164</guid><dc:creator><![CDATA[sierdzio]]></dc:creator><pubDate>Wed, 16 Sep 2026 10:42:59 GMT</pubDate></item></channel></rss>