[Differential] [Request, 4 lines] D4436: [Button Styles] Use Layout.fillHeight instead of parent.height in a Layout

Kai Uwe Broulik noreply at phabricator.kde.org
Sat Feb 4 21:52:57 UTC 2017


broulik created this revision.
broulik added a reviewer: Plasma.
broulik set the repository for this revision to R242 Plasma Framework (Library).
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.

REVISION SUMMARY
  This fixes the label not being vertically centered if the button is smaller than its implicit height.
  This can happen with the global menu applet in a narrow panel.
  
  BUG: 375911

TEST PLAN
  Put a global menu applet in a panel, made the panel narrow. Text is vertically centered and stil readable even at the panel's minimum height

REPOSITORY
  R242 Plasma Framework (Library)

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

AFFECTED FILES
  src/declarativeimports/plasmastyle/ButtonStyle.qml
  src/declarativeimports/plasmastyle/ToolButtonStyle.qml

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: broulik, #plasma
Cc: plasma-devel, #frameworks, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170204/c1b349d0/attachment.html>


More information about the Kde-frameworks-devel mailing list