Improve layout in previewer
ClosedPublic

Authored by rthomsen on Oct 14 2017, 1:46 PM.

Details

Summary
  • Move mimetype icon an comment to below the KPart.
  • Reduce icon size of mimetype icon.
  • Remove some margins.

Bug 385710

Before:

After:

Diff Detail

Repository
R36 Ark
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
rthomsen created this revision.Oct 14 2017, 1:46 PM
Restricted Application added subscribers: Ark, kde-utils-devel. · View Herald TranscriptOct 14 2017, 1:46 PM
rthomsen edited the summary of this revision. (Show Details)Oct 14 2017, 2:00 PM
rthomsen retitled this revision from Improve spacing in previewer to Improve layout in previewer.Oct 14 2017, 2:04 PM
part/arkviewer.cpp
175

Why hardcoding the size? I get 16 with KIconLoader::Small

rthomsen updated this revision to Diff 20735.Oct 14 2017, 2:18 PM

Don't hardcode icon sizes.

rthomsen marked an inline comment as done.Oct 14 2017, 2:18 PM
rthomsen added inline comments.
part/arkviewer.cpp
175

Is it ok to hardcode these sizes?

elvisangelaccio accepted this revision.Oct 14 2017, 2:20 PM
This revision is now accepted and ready to land.Oct 14 2017, 2:20 PM
This revision was automatically updated to reflect the committed changes.