D27460: fix layout size hints for button labels

Marco Martin noreply at phabricator.kde.org
Mon Feb 17 14:46:33 GMT 2020


mart created this revision.
mart added a reviewer: Plasma.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
mart requested review of this revision.

REVISION SUMMARY
  icon sizes and label placements tested correct in  several scenarios
  
  - control.icon.width/height is used as maximum size of the icon
  - if the button is smaller icons always scale down
  - icons stay ccentered regardless of button size when there is no text

TEST PLAN
  fixes icon sizes without workarounds like D27260 <https://phabricator.kde.org/D27260>

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  phab/buttonslayout

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

AFFECTED FILES
  src/declarativeimports/plasmacomponents3/Button.qml
  src/declarativeimports/plasmacomponents3/TabButton.qml
  src/declarativeimports/plasmacomponents3/ToolButton.qml

To: mart, #plasma
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200217/336838ca/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list