D17355: Align Plasma QML button content in center if it has an icon

David Edmundson noreply at phabricator.kde.org
Tue Dec 4 23:24:33 GMT 2018


davidedmundson added a comment.


  Code wise:
  
  - Any changes to PlasmaStyle need to happen in the QQC2 (PlasmaComponents3) version too before shipping
  - Please be sure to run qmlscene tests/components/button.qml
  - Why do we have nested RowLayouts?
  
  
  
  > If we changed that so that buttons could be narrower when the icon + label is small, than we probably wouldn't need to horizontally center anything.
  
  That's do-able from application space.
  
  Button {
  
    implicitWidth: minimumWidth
  
  }
  
  If you want that, there's no need to change this

REPOSITORY
  R242 Plasma Framework (Library)

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

To: GB_2, #plasma, #vdg
Cc: davidedmundson, apol, ngraham, #vdg, kde-frameworks-devel, #plasma, alexde, IohannesPetros, trickyricky26, ragreen, Pitel, michaelh, crozbo, ndavis, ZrenBot, firef, bruns, skadinna, lesliezhai, ali-mohamed, jensreuterberg, aaronhoneycutt, abetts, sebas, mbohlender, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181204/4a915ae9/attachment.html>


More information about the Kde-frameworks-devel mailing list