Bug 451164

Summary: Add an option to adjust the width of Margins Separator
Product: [Plasma] plasmashell Reporter: Antti Savolainen <antti.savo>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: kde, nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.25
Sentry Crash Report:

Description Antti Savolainen 2022-03-05 15:41:28 UTC
SUMMARY
For my eye, the Margins Separator widget wastes way too much space. There used to be a Plasma 4 extention named QuickLauncher which created an area of quicklaunch icons. This functionality can we be emulated with Margins Separators but it creates unnecessary spacing. I would like to be able to adjust that.

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2022-03-22 02:57:10 UTC
Will be fixed with https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/850.
Comment 2 Nate Graham 2022-03-29 01:17:38 UTC
Git commit f4e032087a652ca61ec7dfe4d1b5f1725c150d53 by Nate Graham, on behalf of Tanbir Jishan.
Committed on 29/03/2022 at 01:17.
Pushed by ngraham into branch 'master'.

applets/margins-separator: make smaller normally, and more visible in Edit mode

Margin separator by default has a large width which may not be desirable always
and it is also not directly related to its core functionality. Now it takes up
only 1px of space (the minimum amount) outside of Edit Mode, but expands and
becomes more visually obvious in Edit Mode.
Related: bug 433475
FIXED-IN: 5.25

M  +1    -0    applets/CMakeLists.txt
A  +5    -0    applets/margins-separator/CMakeLists.txt
R  +0    -0    applets/margins-separator/package/contents/config/main.xml [from: applets/margins-separator/contents/config/main.xml - 100% similarity]
R  +5    -2    applets/margins-separator/package/contents/ui/main.qml [from: applets/margins-separator/contents/ui/main.qml - 067% similarity]
R  +0    -0    applets/margins-separator/package/metadata.json [from: applets/margins-separator/metadata.json - 100% similarity]
A  +7    -0    applets/margins-separator/plugin/CMakeLists.txt
A  +29   -0    applets/margins-separator/plugin/marginSeparator.cpp     [License: GPL(v2.0+)]
A  +27   -0    applets/margins-separator/plugin/marginSeparator.h     [License: GPL(v2.0+)]

https://invent.kde.org/plasma/plasma-desktop/commit/f4e032087a652ca61ec7dfe4d1b5f1725c150d53