D12512: ScrollViewKCM

Marco Martin noreply at phabricator.kde.org
Wed Apr 25 12:45:24 UTC 2018


mart added a comment.


  In D12512#253498 <https://phabricator.kde.org/D12512#253498>, @hein wrote:
  
  > Does the magic pixel size number for the padding get scaled correctly on hidpi?
  
  
  on the current way we have to scale in the kcm yes, it will be scaled
  
  > And where does System Settings have the magic pixel number from - is it hardcoded there as well or is it a QStyle thing that could change with the style engine?
  
  yeah, qstyle pixelmetric i fear...
  
  > Could System Settings inject the magic number as a context prop?
  
  not really systemsettings doesn't have any access to the kcm engine

REPOSITORY
  R296 KDeclarative

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

To: mart, #plasma
Cc: hein, #frameworks, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180425/b3515398/attachment.html>


More information about the Kde-frameworks-devel mailing list