<table><tr><td style="">camiloh updated this revision to Diff 63725.<br />camiloh 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/D22974">View Revision</a></tr></table><br /><div><div><p>fallback to custom kirigamiAction property for PrivateActionToolButton</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">useage of the fallback property due to: if we use QQC2.ToolButton default action property then the style will draw the content, and since this component draws the dropDown icon it still needs to be able to draw its own content in place, so the kirigamiAction hides the action prop and then avoids duplicating of icons.</li>
</ul>
<p>Still, an ideal solution would be to be able to let the style draw the content, but there was not an easy way to anchors the dropDown icon in a nice manner by relaying on the style.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R169 Kirigami</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D22974?vs=63242&id=63725">https://phabricator.kde.org/D22974?vs=63242&id=63725</a></div></div><br /><div><strong>BRANCH</strong><div><div>k-action-to-qqc2-action (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22974">https://phabricator.kde.org/D22974</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/controls/Action.qml<br />
src/controls/ActionToolBar.qml<br />
src/controls/private/ActionButton.qml<br />
src/controls/private/ActionsMenu.qml<br />
src/controls/private/GlobalDrawerActionItem.qml<br />
src/controls/private/PrivateActionToolButton.qml<br />
src/controls/private/globaltoolbar/ToolBarPageHeader.qml</div></div></div><br /><div><strong>To: </strong>camiloh, Kirigami, mart<br /><strong>Cc: </strong>astippich, apol, plasma-devel, fbampaloukas, domson, dkardarakos, davidedmundson, mart, hein<br /></div>