summaryrefslogtreecommitdiffstats
path: root/.gitmodules
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2025-10-13 02:10:36 +0300
committerAlexander Golubev <fatzer2@gmail.com>2025-10-24 03:56:26 +0300
commite57d8d3ff715cf10f8cfbfb691a58e039f110968 (patch)
tree4ce2fa7a0a801e470f5b179c129475e735593dd1 /.gitmodules
parent2b3d07c24fa059a1c44339f31b87514a40b42c0d (diff)
downloadtdebase-e57d8d3f.tar.gz
tdebase-e57d8d3f.zip
kicker: add an option to set external margin for tray icons
This commit adds an option to set both: margin (space from an icon to the border) and spacing (space between two neighbouring icons). The option to tweak spacing was previously introduced in fa284a4598 and was called "margin" the actual margin was reduced to 0. Unfortunately that had its own unwanted side-effects listed in #647. Before fa284a4598 the margin and spacing were fixed to be 1. This commit restores old defaults for margin & spacing i.e. 1 to better conform to config of older systems. Effectively this resolved most issues raised in #647 and eliminates any regressions, though there are some caveat cases when the behaviour is not ideal e.g. next settings: panel_width=47 spacing=1 margin=0 result in next layout: [0px][icon][2px][icon][1px] when ideal would be: [1px][icon][1px][icon][1px] On the other hand in such a case a user should probably just use margin=spacing=1. Besides that commit contains some minor refactoring. Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/647 Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 8068c6bdb210c0a252ac7804cb056456501b5c90)
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions