Bug 388492 - Icon grid in folderview widget is not centered
Summary: Icon grid in folderview widget is not centered
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (other bugs)
Version First Reported In: 5.11.5
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-03 13:39 UTC by Kishore Gopalakrishnan
Modified: 2018-01-04 13:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot of the folderview widget (108.38 KB, image/png)
2018-01-03 13:39 UTC, Kishore Gopalakrishnan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2018-01-03 13:39:51 UTC
Created attachment 109651 [details]
Screenshot of the folderview widget

I am currently using the folderview plasmoid set to 'align in rows', and 'align left' (see attached screenshot). In this configuration, the padding on the left and right sides of the plasmoid are not equal. Ideally, if a new icon can't be fitted in the space left on a row, and there are more icons left to be placed in the following rows, the icons in that row would be arranged with the extra space distributed equally between the left and right sides. Currently, I have to fine-tune the size of the plasmoid depending on the number of icons, in order to not have too much space left over on one side of the grid.
Comment 1 Kai Uwe Broulik 2018-01-04 09:18:42 UTC
We add some extra padding between icons on the desktop so they're uniformly laid out, however doing the same with the applet proved to be challenging as the preferred size of the applet depends on its contents and then you end up in a loop.
Comment 2 Eike Hein 2018-01-04 13:08:37 UTC
Yeah, this is currently by design. We experimented with adjusting the grid in the widget, but decided it should be a simple uniform flow, sorry.