<table><tr><td style="">kossebau updated this revision to Diff 53986.<br />kossebau 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/D19787">View Revision</a></tr></table><br /><div><div><p>Only prevent width/height of textureRect becoming 0, otherwise keep old<br />
behaviour. Not changing to qround to prevent bad image quality due to<br />
up-sampling.</p>

<p><a href="https://phabricator.kde.org/F6695867" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F6695867: Screenshot_20190316_070411.png</a></p>

<p>I learned that CSS3 also has a concept of doing frames from images. And<br />
there are quite some options for doing the tiling of the border image, seems<br />
Plasma currently implements the "stretch" and "round" options:<br />
<a href="https://www.w3.org/TR/css-backgrounds-3/#the-border-image-repeat" class="remarkup-link" target="_blank" rel="noreferrer">https://www.w3.org/TR/css-backgrounds-3/#the-border-image-repeat</a></p>

<p>Perhaps some direction to extend the Plasma theme spec to in the future.<br />
HiDpi might allow theme authors to do more fancy themes where then more<br />
control about might be good to have -> setting a thought seed into whoever will work<br />
on that :P</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R242 Plasma Framework (Library)</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D19787?vs=53958&id=53986">https://phabricator.kde.org/D19787?vs=53958&id=53986</a></div></div><br /><div><strong>BRANCH</strong><div><div>fixtilingtexture</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19787">https://phabricator.kde.org/D19787</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/declarativeimports/core/framesvgitem.cpp</div></div></div><br /><div><strong>To: </strong>kossebau, Plasma, mart<br /><strong>Cc: </strong>apol, sitter, kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>