<table><tr><td style="">Zren created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</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/D6392" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The current thickness is also shown when dragging as well.<br />
Closing the ruler thing and reopening will recreate the component, so the Width/Height text will reset.</p>

<p>I could use <tt style="background: #ebebeb; font-size: 13px;">Qt.binding(funtion(){ return panel.thickness })</tt> but I don't think the panel will procedurally change with the panel's config open.</p>

<p>Bug 372364: <a href="https://bugs.kde.org/show_bug.cgi?id=372364" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=372364</a><br />
Reddit: <a href="https://www.reddit.com/r/kde/comments/65wdow/can_we_get_some_support_for_pixel_perfect_panel/" class="remarkup-link" target="_blank" rel="noreferrer">https://www.reddit.com/r/kde/comments/65wdow/can_we_get_some_support_for_pixel_perfect_panel/</a></p>

<p>Here's a demo: <a href="https://streamable.com/m2o7c" class="remarkup-link" target="_blank" rel="noreferrer">https://streamable.com/m2o7c</a></p>

<p>Not intended:<br />
Moving the panel's screen edge triggered the <tt style="background: #ebebeb; font-size: 13px;">panel.onThicknessChanged</tt><br />
Demo: <a href="https://streamable.com/8jof7" class="remarkup-link" target="_blank" rel="noreferrer">https://streamable.com/8jof7</a></p>

<p>The best way to fix that is probably setting <tt style="background: #ebebeb; font-size: 13px;">button.text = panel.thickness</tt> in the mousewheel event and in every case in the "drag" onPositionChanged event. Unless someone else can think of something better.</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/D6392" rel="noreferrer">https://phabricator.kde.org/D6392</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>desktoppackage/contents/configuration/panelconfiguration/SizeHandle.qml</div></div></div><br /><div><strong>To: </strong>Zren, Plasma<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas<br /></div>