<table><tr><td style="">davidedmundson 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/D5300" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>In the system tray we have a header at the top and the icons on the<br />
left.</p>

<p>When there is no applet selected we want the icons to take up the full<br />
width, because of this they have to start off under the title.</p>

<p>When an applet is selected we want these icons to dock to the left, but<br />
not change their y position. The title then becomes the title of the<br />
active applet.</p>

<p>If the active applet's title wraps this results in the icons moving all<br />
over the place. See image in bug report.</p>

<p>This patch uses two text fields and toggles visibility so that we can<br />
always align the icons to a consistent point</p>

<p>BUG: 378194</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Opened system tray with the arrow<br />
Clicked on an applet and back<br />
Opened system tray by clicking on applet</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5300" rel="noreferrer">https://phabricator.kde.org/D5300</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/systemtray/package/contents/ui/ExpandedRepresentation.qml</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>