D27346: emojier: Improve resizing performance

Chris Holland noreply at phabricator.kde.org
Sun Feb 16 01:10:08 GMT 2020


Zren added a comment.


  As in `clip: true`?
  
    delegate: MouseArea {
        width: emojiView.cellWidth
        height: emojiView.cellHeight
        clip: true
    
        Rectangle { border.color: "#ff0"; anchors.fill: parent; border.width: 1; color: "transparent" }
    
        QQC2.Label {
            font.pointSize: -1
            font.pixelSize: Math.floor(emojiView.desiredSize / 2)
    
            Rectangle {
                width: parent.contentWidth
                height: parent.contentHeight
                border.color: "#f00"
                anchors.centerIn: parent
                border.width: 1
                color: "transparent"
            }
        }
    }
  
  F8105518: 2020-02-15___20-04-25.png <https://phabricator.kde.org/F8105518>
  F8105516: 2020-02-15___20-03-15.png <https://phabricator.kde.org/F8105516>

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D27346

To: apol, #plasma
Cc: ngraham, Zren, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200216/00686b0c/attachment.html>


More information about the Plasma-devel mailing list