D12588: KFileWidget: Set minimum size for zoom slider

Henrik Fehlauer noreply at phabricator.kde.org
Sun Apr 29 06:07:32 UTC 2018


rkflx created this revision.
rkflx added a reviewer: Frameworks.
Restricted Application added a project: Frameworks.
rkflx requested review of this revision.

REVISION SUMMARY
  When choosing a very narrow width for the file dialog, the zoom slider
  for the icon size would get squished so that only the handle would be
  visible and the slider could not be used anymore to change zoom levels
  in any way.
  
  This can be avoided by setting a minimum size. 40px are smaller than the
  default size, but still allow to operate the slider comfortably.
  
  The minimal width of the dialog is unchanged, as before the toolbar will
  show the elision button once elements start overflowing.
  
  Ref T8552 <https://phabricator.kde.org/T8552>
  
  FIXED-IN: 5.46

TEST PLAN
  `kdialog --getopenfilename`, change window size and observe zoom slider.
  
  F5826728: KIO-slider-min-size.webm <https://phabricator.kde.org/F5826728>

REPOSITORY
  R241 KIO

BRANCH
  slider-min-size (branched from master)

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

AFFECTED FILES
  src/filewidgets/kfilewidget.cpp

To: rkflx, #frameworks
Cc: michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180429/e7df323a/attachment.html>


More information about the Kde-frameworks-devel mailing list