[Differential] [Updated] D657: Make status 'popup' button more appopriate size on OSX

amccann (Andrew McCann) noreply at phabricator.kde.org
Tue Dec 15 19:13:15 UTC 2015


amccann marked an inline comment as done.
amccann added a comment.

This is the final result.  with the #ifdef it only applies to OSX:

F35490: Screen Shot 2015-12-15 at 11.05.06 AM.png <https://phabricator.kde.org/F35490>

The root issue seems to be that QPushButton (and QToolButton) both return rather 'large' minimumSizeHint on Linux, which prompted the setMaximumHeight call. Unfortunately, on OSX this causes the button to be rendered with the bottom edge clipped. Luckily, on OSX the minumSizeHint is much smaller and the standard layout works fine.


REPOSITORY
  rKDEVPLATFORM KDevPlatform

BRANCH
  mini_popup_button

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

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

To: amccann, kfunk
Cc: kfunk, kdevelop-devel


More information about the KDevelop-devel mailing list