<table><tr><td style="">Zren added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D6188" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>So removing the following two conditionals fixes it. I'm not sure why they are there. Right now it only stops at the panels if we're already overflowing.<br />
in <tt style="background: #ebebeb; font-size: 13px;">rightMargin</tt>: <tt style="background: #ebebeb; font-size: 13px;">(folderViewLayer.view.overflowing || folderViewLayer.view.flow == GridView.FlowLeftToRight || folderViewLayer.view.layoutDirection == Qt.RightToLeft)</tt><br />
in <tt style="background: #ebebeb; font-size: 13px;">bottomMargin</tt>: <tt style="background: #ebebeb; font-size: 13px;">(folderViewLayer.view.overflowing || folderViewLayer.view.flow == GridView.FlowTopToBottom)</tt></p>

<p><a href="https://phabricator.kde.org/F3782017" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F3782017: 2017-06-12___13-06-03.png</a></p>

<p><a href="https://phabricator.kde.org/F3782019" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F3782019: 2017-06-12___13-06-41.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6188" rel="noreferrer">https://phabricator.kde.org/D6188</a></div></div><br /><div><strong>To: </strong>Zren, hein<br /><strong>Cc: </strong>anthonyfieroni, broulik, plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas<br /></div>